First time here? Check out the FAQ!
When editing html documents, in Html Source mode, Writer accepts html tags and saves them (for example, for example SPAN tags.. But if you switch back to Web Layout mode, and then back to Html Source mode,that html may have been destroyed.
For example:
<span title="We use your personal information only to communicate with you."
style="color: blue">our privacy policy</span>
becomes:
<FONT COLOR="#0000ff">our privacy policy</FONT>
I like using Writer to edit html, but this is a problem. Any suggestions for how to get it to preserve custom html?
Thanks
Hi @Alan,
This sounds like a bug that would qualify as "data loss." As you might be aware, the LO community takes data loss bugs quite seriously.
If installing the latest release doesn't seem to fix this problem, please file a bug and provide a list of steps that can reproduce it. The QA team will be happy to help you track down this issue!
Please post a link to any bugs you file in a comment below using the format "fdo#123456".
Thanks!
Thank you. I'm aware of that.
The problem is that, once you've saved the document as .html, and edited some of the html code, if you go then switch back to "Web Layout mode, the editing you did while in html mode may be affected, as in my question: I used html mode to place a SPAN tag around the phrase "our privacy policy". The SPAN tag had the "Title" attribute set to "We use your personal information only to communicate with you.". Hold your mouse over the first instance of "our privacy policy" in my question, or view the source code to see what I mean. Then I switched back to Web Layout mode and made some edits elsewhere in the document. When I previewed the document after saving it, the SPAN tag and its title attribute was gone, replaced by the FONT tag. (Hold your mouse over the second instance of "our privacy policy" in my question, or view the source code to see what I mean.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-09-19 18:54:23 +0200
Seen: 71 times
Last updated: Feb 24
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
Hi @Alan,
This sounds like a bug that would qualify as "data loss." As you might be aware, the LO community takes data loss bugs quite seriously. Please file a bug about this problem. The QA team will be happy to help you track down this issue! Thanks!
qubit ( 2013-01-31 05:54:49 +0200 )edit