[Libreoffice-commits] dev-tools.git: helpauthoring/filter

Yousuf Philips philipz85 at hotmail.com
Tue Sep 8 04:15:32 PDT 2015


 helpauthoring/filter/soffice2xmlhelp.xsl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bd9ddd7bdb8420b58b42e32136c83f2f589907f2
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Tue Sep 8 15:14:48 2015 +0400

    Have title tag id attribute before xml-lang
    
    Most .xhp files have it in this format, so no need to change this line
    unnecessarily everytime a file is saved using the tool.

diff --git a/helpauthoring/filter/soffice2xmlhelp.xsl b/helpauthoring/filter/soffice2xmlhelp.xsl
index 4d4e557..56f47d1 100644
--- a/helpauthoring/filter/soffice2xmlhelp.xsl
+++ b/helpauthoring/filter/soffice2xmlhelp.xsl
@@ -106,7 +106,7 @@ DOCUMENT SKELETON
                 <xsl:attribute name="status"><xsl:value-of select="$topic_status"/></xsl:attribute>
             </xsl:if>
             <xsl:call-template name="newline-indent-2"/>
-            <title xml-lang="en-US" id="tit"><xsl:value-of select="$title"/></title>
+            <title id="tit" xml-lang="en-US"><xsl:value-of select="$title"/></title>
             <xsl:call-template name="newline-indent-2"/>
             <filename><xsl:value-of select="$filename"/></filename>
             <xsl:call-template name="newline-indent-1"/>


More information about the Libreoffice-commits mailing list