Adding references.
[redakcja.git] / src / redakcja / static / xsl / wl2html_client.xsl
index f5a442b..51ea70f 100644 (file)
         </span>
     </xsl:template>
 
+    <xsl:template match="ref">
+        <span x-editable="true" x-common="common" x-edit-no-format="true" x-edit-attribute="href">
+            <xsl:call-template name="standard-attributes"/>
+            <a class="reference">📌</a>
+        </span>
+    </xsl:template>
+    
     <xsl:template match="begin">        
         <span>
             <xsl:call-template name="standard-attributes" />
     </xsl:template>
 
     <xsl:template match="motyw">
-        <span x-editable="true" x-common="common">
+        <span x-editable="true" x-edit-no-format="true" x-common="common">
             <xsl:call-template name="standard-attributes" />
             <xsl:attribute name="theme-class">
                 <xsl:value-of select="substring-after(@id, 'm')" />