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

Yousuf Philips philipz85 at hotmail.com
Tue Sep 8 07:46:28 PDT 2015


 helpauthoring/filter/soffice2xmlhelp.xsl |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 10522c945308d88ce49de7212fbf98a4f0ccd6c1
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Tue Sep 8 17:59:44 2015 +0400

    Have level attribute of paragraph tag appear before xml-lang
    
    Change-Id: I1dbb3522fd57394fabfb8169ffa3e2efd67a2cb2
    Reviewed-on: https://gerrit.libreoffice.org/18410
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/helpauthoring/filter/soffice2xmlhelp.xsl b/helpauthoring/filter/soffice2xmlhelp.xsl
index 2534b39..ca5f8f8 100644
--- a/helpauthoring/filter/soffice2xmlhelp.xsl
+++ b/helpauthoring/filter/soffice2xmlhelp.xsl
@@ -871,10 +871,10 @@ PARAGRAPH
             <xsl:otherwise><xsl:call-template name="newline"/></xsl:otherwise>
         </xsl:choose>
 
-        <paragraph id="{$real_id}" role="{$role}" xml-lang="en-US"><xsl:if test="$localize='FALSE'">
-                <xsl:attribute name="localize"><xsl:value-of select="'false'"/></xsl:attribute>
-            </xsl:if>
-            <xsl:if test="not($level = '')"><xsl:attribute name="level"><xsl:value-of select="$level" /></xsl:attribute></xsl:if><xsl:apply-templates /></paragraph>
+        <paragraph id="{$real_id}" role="{$role}">
+            <xsl:if test="not($level = '')"><xsl:attribute name="level"><xsl:value-of select="$level" /></xsl:attribute></xsl:if>
+            <xsl:if test="$localize='FALSE'"><xsl:attribute name="localize"><xsl:value-of select="'false'"/></xsl:attribute></xsl:if>
+            <xsl:attribute name="xml-lang"><xsl:value-of select="'en-US'" /></xsl:attribute><xsl:apply-templates /></paragraph>
     </xsl:when>
     <xsl:when test="$masterstyle='hlp_aux_tablecaption'"/>
     <xsl:otherwise>


More information about the Libreoffice-commits mailing list