help3xsl/online_transform.xsl |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 8487420fa9d824abcd4482cf988ccc0ed945aca6
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Thu Sep 19 12:14:38 2024 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Fri Sep 20 12:09:26 2024 +0200

    name= attribute is not supported in HTML5 for <a>
    
    Change-Id: Ic2fd82900811f86c9e06f46afa547466e2831538
    ref: https://www.w3schools.com/tags/tag_a.asp
    ref: https://www.w3schools.com/jsref/dom_obj_anchor.asp
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173678
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index ec47d60aa4..9ff7961409 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -305,7 +305,7 @@
 
 <!-- BOOKMARK -->
 <xsl:template match="bookmark">
-       <a name="{@id}"></a>
+       <a id="{@id}"></a>
        <xsl:choose>
                <xsl:when test="starts-with(@branch,'hid')" />
                <xsl:otherwise><xsl:apply-templates /></xsl:otherwise>
@@ -565,7 +565,7 @@
 
 <!-- SECTION -->
 <xsl:template match="section">
-    <a name="{@id}"></a>
+    <a id="{@id}"></a>
     <xsl:choose>
         <xsl:when test="@id='relatedtopics'">
             <div class="relatedtopics">
@@ -592,7 +592,7 @@
 
 <!-- SECTION -->
 <xsl:template match="section" mode="embedded">
-    <a name="{@id}"></a>
+    <a id="{@id}"></a>
     <xsl:apply-templates mode="embedded"/>
 </xsl:template>
 
@@ -743,7 +743,7 @@
 <xsl:template match="topic"/>
 
 <!-- VARIABLE -->
-<xsl:template match="variable"><a name="{@id}"></a><xsl:apply-templates 
/></xsl:template>
+<xsl:template match="variable"><a id="{@id}"></a><xsl:apply-templates 
/></xsl:template>
 <xsl:template match="variable" mode="embedded"><xsl:apply-templates 
mode="embedded"/></xsl:template>
 
 <xsl:template match="text()">

Reply via email to