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
..
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +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
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +00:00
2022-12-07 17:39:02 +00:00
2020-12-21 20:18:16 +01:00
2023-03-16 15:18:10 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +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
2022-11-28 16:30:04 +01:00
2020-08-03 01:49:01 +02: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
2023-02-21 11:19:34 +00:00
2023-03-16 15:18:10 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +00:00
2023-03-15 10:18:53 +00:00
2022-12-07 17:39:02 +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:10 +00:00
2021-10-02 18:54:24 +02:00
2021-11-18 19:18:39 +01: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:10 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:10 +00:00
2021-07-17 14:42:53 +02: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
2022-12-07 17:39:02 +00:00
2021-11-29 13:13:21 +01:00
2023-03-16 15:18:10 +00:00
2023-01-07 10:10:27 +00:00
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:10 +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
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +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
2023-03-16 15:18:10 +00:00
2019-06-25 04:35:35 +02:00
2022-06-28 14:51:44 +02:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2023-02-26 17:23:59 +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
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:10 +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
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:10 +00:00
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:10 +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
2022-12-07 17:39:02 +00:00
2023-03-16 15:18:10 +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
2022-12-07 17:39:02 +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
2022-12-07 17:39:02 +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
2022-12-07 17:39:02 +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:10 +00:00
2023-03-16 15:18:30 +00:00
2017-05-09 16:37:41 +02: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
2022-12-07 17:39:02 +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
2022-12-07 17:39:02 +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
2022-12-07 17:39:02 +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
2022-12-07 17:39:02 +00:00
2023-02-21 11:18:22 +00:00
2020-12-12 18:39:38 +01:00
2023-03-16 15:18:10 +00:00
2023-02-15 12:50:58 +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
2023-03-16 15:18:10 +00:00
2023-03-16 15:18:30 +00:00
2023-03-16 15:18:10 +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:10 +00:00
2018-11-21 13:45:58 +01:00