diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-03-13 16:10:49 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-03-16 15:17:52 +0000 |
commit | 00567a452bb1e270dd2438dcc865359edba56c19 (patch) | |
tree | 59ca1374098170e072758e97592397004b60e246 /source/text/smath/01/03060000.xhp | |
parent | d29743de6f11453152a00222fddf0e4dd12c2c05 (diff) |
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 <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/smath/01/03060000.xhp')
0 files changed, 0 insertions, 0 deletions