https://bugs.documentfoundation.org/show_bug.cgi?id=160322
Bug ID: 160322
Summary: import HTML ignores "hidden" attribute
Product: LibreOffice
Version: 7.3.7.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When I use LibreWriter to open an HTML file, and some blocks (like paragraph,
<p>) are marked "hidden" (<p hidden>), the hidden text shows up anyway. It
should not be rendered, just as a browser does not show it in the original
HTML. If I then export the file, as a docx/Word file, the text shows up there
as well.
Steps to Reproduce:
1. see above. Open HTML file with hidden text in Writer.
2. Note that the "hidden" text shows up.
3. Save As docx. Note that the hidden text appears there too.
Actual Results:
as described above. Try this, as the content of your HTML file:
<!DOCTYPE html>
<html lang="en">
<head>
<title>test of hidden attribute</title>
<body>
<p>
This paragraph should show up plain as day.
</p>
<p hidden>
In contrast, you should not be able to see this paragraph, since it is
"hidden".
</p>
</body>
</html>
Expected Results:
as described above - hidden text shows up. Libre Writer simply ignores "hidden"
attribute in HTML entirely. Clearly not expected or desired behavior.
Reproducible: Always
User Profile Reset: No
Additional Info:
Suppress the "hidden" text.
--
You are receiving this mail because:
You are the assignee for the bug.