summaryrefslogtreecommitdiff
path: root/helpcontent2
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-03-16 16:18:10 +0100
committerGerrit Code Review <gerrit@gerrit.libreoffice.org>2023-03-16 15:18:10 +0000
commit5c78600292d965af157967343a1a4559a086d39a (patch)
tree8802f3c8b3a2804a56aa6f3a722144e87d6e0b53 /helpcontent2
parentf709f5d23d62752fcd406da35a65232f9883387f (diff)
Update git submodules
* Update helpcontent2 from branch 'master' to 77cb682cd1b004e7247560e60f603a4bb0565b8d - convert plain paragraphs with role="heading" → h<level> i.e. without child elements and also drop the language that was changed to implied in the dtd previously/defaults to en-US unless specified. This change doesn't affect translations, only the content of the paragraph/headings is extracted. done with: perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g' (all permutations re order of attributes, and xml-lang="en-US" being optional / implied) Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'helpcontent2')
m---------helpcontent20
1 files changed, 0 insertions, 0 deletions
diff --git a/helpcontent2 b/helpcontent2
-Subproject 00567a452bb1e270dd2438dcc865359edba56c1
+Subproject 77cb682cd1b004e7247560e60f603a4bb0565b8