hack to prevent self-closing <a> tags
[librarian.git] / librarian / xslt / wl2html_full.xslt
old mode 100755 (executable)
new mode 100644 (file)
index 050f1e8..30381c3
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
 <?xml version="1.0" encoding="utf-8"?>
 <!--
+
    This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
    Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
    This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
    Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
-  
+
 -->
 -->
-<xsl:stylesheet version="1.0"    
-    xmlns="http://www.w3.org/1999/xhtml"    
+<xsl:stylesheet version="1.0"
+    xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
-    <xsl:param name="with-paths" select="boolean(0)" />       
+    <xsl:param name="with-paths" select="boolean(0)" />
     <xsl:param name="with-annotations" select="boolean(1)" />
     <xsl:param name="with-annotations" select="boolean(1)" />
-    
+
     <xsl:include href="wl2html_base.xslt" />
     <xsl:output encoding="utf-8" indent="yes" omit-xml-declaration = "yes" />
 
     <xsl:include href="wl2html_base.xslt" />
     <xsl:output encoding="utf-8" indent="yes" omit-xml-declaration = "yes" />
 
@@ -20,7 +20,7 @@
 
             <xsl:if test="with-toc" />
 
 
             <xsl:if test="with-toc" />
 
-            <xsl:apply-templates select="/utwor" mode="element-tag">                
+            <xsl:apply-templates select="/utwor" mode="element-tag">
                 <xsl:with-param name="parentpath" select="''" />
                 <xsl:with-param name="offset" select="0" />
                 <xsl:with-param name="mixed" select="false()" />
                 <xsl:with-param name="parentpath" select="''" />
                 <xsl:with-param name="offset" select="0" />
                 <xsl:with-param name="mixed" select="false()" />