From fb9c746f6aaae147aa16b1f2b682e01d07003d03 Mon Sep 17 00:00:00 2001 From: Ilmari Lauhakangas Date: Fri, 22 Oct 2021 12:15:06 +0300 Subject: tdf#145232 get_bookmark.xsl: Use normalize-space() normalize-space() trims whitespace from the start and end of a string and collapses multiple spaces inside a string into a single space. This will prevent newlines in strings from breaking our generated bookmarks.js. Change-Id: I2a420cfd9fe13ee063151af79cb51b0ae49f5a0d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124056 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/get_bookmark.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help3xsl/get_bookmark.xsl b/help3xsl/get_bookmark.xsl index 05121e23fa..9700e4d57a 100644 --- a/help3xsl/get_bookmark.xsl +++ b/help3xsl/get_bookmark.xsl @@ -56,7 +56,7 @@ xsltproc get_bookmark.xsl - + -- cgit