Closed GoogleCodeExporter closed 9 years ago
I have observed same issue - but without using of CSS. Simple html-code like
this will only display the text underlined:
...
<p><strike><u>STRIKE + UNDERLINE</u></strike></p>
...
But the text is not strikethroughed.
If I change the direction of the properties from "<strike><u>...</u></strike>"
to "<u><strike>...</strike></u>" you will only see the text strikethrough - but
not underlined.
I think there is something wrong while collection the properties for the same
section. I look likes the 'last' property wins always for the same section and
they are not merged as expected. Can you confirm my obervation?
Original comment by hugomaye...@googlemail.com
on 26 May 2015 at 1:59
Thanks for spotting this issue
Original comment by OrphanCat
on 27 Jul 2015 at 7:31
Thanks for investigating this issue.
Original comment by OrphanCat
on 27 Jul 2015 at 7:37
https://github.com/BerndGabriel/HtmlViewer/commit/c3230eea5e5e5f464224a3e2b5a6ef
7662604d89 fixes this issue
Original comment by OrphanCat
on 27 Jul 2015 at 7:42
Thanks a lot for the fix... I have merged your change-set into our locale
sources and it seems to work for our interests.
Original comment by hugomaye...@googlemail.com
on 28 Jul 2015 at 1:56
Looks good, however POS() is CaseSensitive. So if i write "UnderLine" it will
not match. AFAIK CSS is case insensitive. ContainsText might be a better option
here.
Original comment by Sebal...@googlemail.com
on 28 Jul 2015 at 4:58
@sebal007
"Underline" works as well as style values are converted to lowercase before
processing. Pos is much cheaper than ContainsText.
Original comment by OrphanCat
on 28 Jul 2015 at 7:11
didn't know they are made lowercase. in this case, Pos is much better, of
course.
Original comment by Sebal...@googlemail.com
on 30 Jul 2015 at 7:13
Original issue reported on code.google.com by
Sebal...@googlemail.com
on 18 Mar 2015 at 3:39