diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-04-21 19:19:51 +0300 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-05-12 14:44:46 +0200 |
commit | e3164d8b3f10d2d3f856182044ff541adfcb1439 (patch) | |
tree | c7c1f90d8163b5ba06b84b5c14044aea78fcd6e5 /help3xsl/help.js | |
parent | 1a71181cd6bd1b204e5b466c97b6e0e6c4434cca (diff) |
Add dir attribute to html element based on language directionality
Change-Id: I1dbb6cc2f3497ab70a806c94ad9d52ee1e10c13f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133294
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r-- | help3xsl/help.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js index dcf0dd365f..65493ab0c3 100644 --- a/help3xsl/help.js +++ b/help3xsl/help.js @@ -77,7 +77,7 @@ function fullLinkify(indexEl, bookmarks, modules, currentModule) { }); } bookmarks.forEach(function(obj) { - fullLinkified += '<a href="' + obj['url'] + '" class="' + obj['app'] + '">' + obj['text'] + '</a>'; + fullLinkified += '<a href="' + obj['url'] + '" class="' + obj['app'] + '" dir="auto">' + obj['text'] + '</a>'; }); return fullLinkified; } |