helpcontent2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit cea9c205cee53f3bcc72129ae00be5fa1835896f Author: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> AuthorDate: Thu Mar 16 16:18:31 2023 +0100 Commit: Gerrit Code Review <ger...@gerrit.libreoffice.org> CommitDate: Thu Mar 16 15:18:31 2023 +0000
Update git submodules * Update helpcontent2 from branch 'master' to 4453c0b2edae4934f87594d5974783c4a1a5ea54 - convert paragraphs with role="heading" & childelements to → h<level> and also drop the language that was changed to implied 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' and manually undoing the one that uses <sup>in body that's not valid according to the dtd in the h tags. Change-Id: Ibd4aed3157ed168cd5005161575672a392e59202 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148797 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/helpcontent2 b/helpcontent2 index 77cb682cd1b0..4453c0b2edae 160000 --- a/helpcontent2 +++ b/helpcontent2 @@ -1 +1 @@ -Subproject commit 77cb682cd1b004e7247560e60f603a4bb0565b8d +Subproject commit 4453c0b2edae4934f87594d5974783c4a1a5ea54