Update git submodules
commitcea9c205cee53f3bcc72129ae00be5fa1835896f
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Thu, 16 Mar 2023 15:18:31 +0000 (16 16:18 +0100)
committerGerrit Code Review <gerrit@gerrit.libreoffice.org>
Thu, 16 Mar 2023 15:18:31 +0000 (16 15:18 +0000)
tree953f0e9c60257f4d5cd743cead0f4cc79013136f
parent5c78600292d965af157967343a1a4559a086d39a
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.hallot@libreoffice.org>
helpcontent2