summaryrefslogtreecommitdiff
path: root/source/text/shared/01/06150210.xhp
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-03-13 16:41:53 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-03-16 15:18:30 +0000
commit4453c0b2edae4934f87594d5974783c4a1a5ea54 (patch)
treeda7008bd439cc57cd8d44597f8cba6fc1808aa0c /source/text/shared/01/06150210.xhp
parent77cb682cd1b004e7247560e60f603a4bb0565b8d (diff)
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>
Diffstat (limited to 'source/text/shared/01/06150210.xhp')
-rw-r--r--source/text/shared/01/06150210.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/shared/01/06150210.xhp b/source/text/shared/01/06150210.xhp
index 42f0920ef3..bacb8d9280 100644
--- a/source/text/shared/01/06150210.xhp
+++ b/source/text/shared/01/06150210.xhp
@@ -32,7 +32,7 @@
<body>
- <bookmark branch="hid/FILTER_HID_XML_FILTER_TEST_VALIDATE_OUTPUT" xml-lang="en-US" id="bm_id3153136" localize="false"/><bookmark branch="hid/FILTER_HID_XML_FILTER_OUTPUT_WINDOW" xml-lang="en-US" id="bm_id3152790" localize="false"/><paragraph id="hd_id3158397" role="heading" level="1" xml-lang="en-US"><variable id="xmlfilteroutput"><link href="text/shared/01/06150210.xhp">XML Filter output</link></variable></paragraph>
+ <bookmark branch="hid/FILTER_HID_XML_FILTER_TEST_VALIDATE_OUTPUT" xml-lang="en-US" id="bm_id3153136" localize="false"/><bookmark branch="hid/FILTER_HID_XML_FILTER_OUTPUT_WINDOW" xml-lang="en-US" id="bm_id3152790" localize="false"/><h1 id="hd_id3158397"><variable id="xmlfilteroutput"><link href="text/shared/01/06150210.xhp">XML Filter output</link></variable></h1>
<paragraph role="paragraph" id="par_id3153882" xml-lang="en-US"><ahelp visibility="visible" hid="HID_XML_FILTER_OUTPUT_WINDOW">Lists the test results of an <link href="text/shared/01/06150000.xhp">XML filter</link>.</ahelp></paragraph>
<section id="howtoget">
<embed href="text/shared/00/00000406.xhp#xmlfilter"/>