helpcontent2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5c78600292d965af157967343a1a4559a086d39a
Author:     Christian Lohmaier <[email protected]>
AuthorDate: Thu Mar 16 16:18:10 2023 +0100
Commit:     Gerrit Code Review <[email protected]>
CommitDate: Thu Mar 16 15:18:10 2023 +0000

    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 <[email protected]>

diff --git a/helpcontent2 b/helpcontent2
index 00567a452bb1..77cb682cd1b0 160000
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 00567a452bb1e270dd2438dcc865359edba56c19
+Subproject commit 77cb682cd1b004e7247560e60f603a4bb0565b8d
commit f709f5d23d62752fcd406da35a65232f9883387f
Author:     Christian Lohmaier <[email protected]>
AuthorDate: Thu Mar 16 16:17:53 2023 +0100
Commit:     Gerrit Code Review <[email protected]>
CommitDate: Thu Mar 16 15:17:53 2023 +0000

    Update git submodules
    
    * Update helpcontent2 from branch 'master'
      to 00567a452bb1e270dd2438dcc865359edba56c19
      - convert plain paragraphs with role="heading" → h<level> 
(localize="false")
    
        done with
        perl -CSD -pi -e 'BEGIN {$base = 
qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")|localize="false"/;} 
s#<paragraph(((\s+($base)){4})|(\s+($base|xml-lang="en-US")){5})>(?<body>[^<]+)</paragraph>#<h$+{level}
 $+{id} localize="false">$+{body}</h$+{level}>#g'
    
        Change-Id: I5d2b1b6326801adb8d000b3353d314d2fc9f322d
        Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148796
        Tested-by: Jenkins
        Reviewed-by: Olivier Hallot <[email protected]>

diff --git a/helpcontent2 b/helpcontent2
index d29743de6f11..00567a452bb1 160000
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit d29743de6f11453152a00222fddf0e4dd12c2c05
+Subproject commit 00567a452bb1e270dd2438dcc865359edba56c19

Reply via email to