summaryrefslogtreecommitdiffstats
path: root/source/text/swriter/01/05100000.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/swriter/01/05100000.xhp
parentconvert plain paragraphs with role="heading" → h<level> (diff)
downloadhelp-4453c0b2edae4934f87594d5974783c4a1a5ea54.tar.gz
help-4453c0b2edae4934f87594d5974783c4a1a5ea54.zip
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/swriter/01/05100000.xhp')
-rw-r--r--source/text/swriter/01/05100000.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/swriter/01/05100000.xhp b/source/text/swriter/01/05100000.xhp
index 6396c57bae..a49388111c 100644
--- a/source/text/swriter/01/05100000.xhp
+++ b/source/text/swriter/01/05100000.xhp
@@ -30,7 +30,7 @@
</history>
</meta>
<body>
-<paragraph role="heading" id="hd_id3150765" xml-lang="en-US" level="1"><link href="text/swriter/01/05100000.xhp">Cell</link></paragraph>
+<h1 id="hd_id3150765"><link href="text/swriter/01/05100000.xhp">Cell</link></h1>
<paragraph role="paragraph" id="par_id3147567" xml-lang="en-US">This command is only available if you have selected a table in your document, or if the cursor is in a table cell.</paragraph>
<section id="howtoget">
<embed href="text/swriter/00/00000405.xhp#zelle"/>