[Libreoffice-bugs] [Bug 132770] Underline words from HTML document do not appear
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun May 10 12:24:45 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132770
--- Comment #2 from Konstantin Kharlamov <hi-angel at yandex.ru> ---
Okay, so a couple of updates:
1. The gdb taking GBs of memory turned out to be a bug in gdb
https://sourceware.org/bugzilla/show_bug.cgi?id=25965
2. You can make it work with one of the following changes:
* replace `ins` with `u` tag
* add into html file (or to a separate CSS file) a style for `ins` tag as
follows:
<style>
ins {
text-decoration: underline;
}
</style>
What basically happens is that html parser queries known styles by executing
`pCFormat = m_pDoc->FindCharFormatByName( "ins" )`. It does not find one, and
creates one with default text property.
I'll try to see if there is any obvious solution, but I suspect solution should
be creating default "underlined" style for `ins` tag but using it *only* when
there's no override in a CSS. Since I don't know the code nor where to look at
examples, I might have a problem with implementing that.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200510/ee5d81ef/attachment.htm>
More information about the Libreoffice-bugs
mailing list