Christian Lohmaier
4453c0b2ed
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 >
2023-03-16 15:18:30 +00:00
..
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2019-12-30 11:22:13 +01:00
2023-03-16 15:18:30 +00:00
2019-12-30 00:57:07 +01:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2021-11-07 12:33:55 +01:00
2022-12-07 17:39:02 +00:00
2021-11-07 12:35:05 +01:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2021-01-31 16:54:03 +01:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2019-12-30 11:22:49 +01:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +00:00
2019-12-30 20:02:55 +01:00
2019-12-30 20:03:18 +01:00
2019-12-30 20:03:37 +01:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:30 +00:00
2022-11-09 22:01:31 +01:00
2022-11-12 16:29:20 +01:00