From 96f1ee8417e4d6c7134e13ab86ac55e52f1bc841 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 31 Jan 2020 16:07:28 +0300 Subject: Don't hardcode version in links in online help ... so that when current page URL is like https://help.libreoffice.org/latest/en-US/text/shared/05/new_help.html links from it will lead to other pages under 'latest', not to https://help.libreoffice.org/6.3/... The problem reason was that in online help, HTML referred to resources with relative URLs starting with version number, like 'href="6.3/media/navigation/favicon.ico"'. The links didn't include the version level in local help: 'href="media/navigation/favicon.ico"'. This was naturally accompanied by (online) and '' (local), coming from "tokenize" in help3xsl/online_transform.xsl. This unifies online help behaviour with that of local help. Change-Id: I486cbfbd680d52d00ef99ade9af5ecac2967c115 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/87768 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/get_bookmark.xsl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'help3xsl/get_bookmark.xsl') diff --git a/help3xsl/get_bookmark.xsl b/help3xsl/get_bookmark.xsl index 692ded0ffe..c53a559596 100644 --- a/help3xsl/get_bookmark.xsl +++ b/help3xsl/get_bookmark.xsl @@ -22,13 +22,6 @@ xsltproc get_bookmark.xsl - - - - - - -