diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-09-19 12:14:38 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-09-20 12:09:26 +0200 |
commit | 8487420fa9d824abcd4482cf988ccc0ed945aca6 (patch) | |
tree | 4d641479cd15877c14f48be72a815c1074517bc5 /help3xsl | |
parent | 74180ce0f912f7a432f509b8c5ac9239e4f74d9a (diff) |
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.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
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()"> |