https://bugs.documentfoundation.org/show_bug.cgi?id=148974
Bug ID: 148974
Summary: Redundant/Excessive HTML Tags in Formatted Text
Product: LibreOffice
Version: 7.3.2.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
LO Writer generates redundant tags which are visible on copying and pasting
Formatted Text into Wordpress Gutenberg Editor or another HTML Editor.
For example, text "Hello World!" styled with "Heading 1" style should have
following formatting HTML tags:
<strong>Hello World!</strong>.
But LO Writer can produce redundant/excessive formatting tags, which can looks
following:
<strong>Hell</strong><strong>o</strong> <strong>World!<strong>.
These excessive tags increase complexity of HTML markup and increase size of
HTML code. Redundant tags should be minimized/normalized as much as possible
without affecting visual representation.
Steps to Reproduce:
1. Copy provided text from provided ODT document;
2. Paste it into Online HTML Editor (https://html-online.com/editor/);
3. You will see a lot of redundant "strong" tags.
Actual Results:
-
Expected Results:
-
Reproducible: Always
User Profile Reset: No
Additional Info:
Link to example .odt file: https://easyupload.io/t7vm6k
--
You are receiving this mail because:
You are the assignee for the bug.