From 77cb682cd1b004e7247560e60f603a4bb0565b8d Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 13 Mar 2023 16:04:19 +0100 Subject: convert plain paragraphs with role="heading" → h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit i.e. without child elements and also drop the language that was changed to implied in the dtd 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="(?\d+)"|(?id="[^"]+")/;} s#(?[^<]+)#$+{body}#g' (all permutations re order of attributes, and xml-lang="en-US" being optional / implied) Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/shared/04/01020000.xhp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/text/shared/04/01020000.xhp') diff --git a/source/text/shared/04/01020000.xhp b/source/text/shared/04/01020000.xhp index b5774b18e2..5cae73bf4b 100644 --- a/source/text/shared/04/01020000.xhp +++ b/source/text/shared/04/01020000.xhp @@ -35,8 +35,8 @@
-Shortcut keys for databases -In the query design +

Shortcut keys for databases

+

In the query design

@@ -103,7 +103,7 @@
-Control Properties Window +

Control Properties Window

@@ -170,7 +170,7 @@
-Shortcuts for creating Basic dialogs +

Shortcuts for creating Basic dialogs

-- cgit