Fix theme box.
[redakcja.git] / src / redakcja / static / xsl / wl2html_client.xsl
index f5a442b..b359e91 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">
+          <xsl:with-param name="extra-class" select="'reference-inline-box'" />
+        </xsl:call-template>
+        <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')" />