HtmlViewer icon indicating copy to clipboard operation
HtmlViewer copied to clipboard

Fixed ordered-list render bug

Open ortegaalfredo opened this issue 2 years ago • 3 comments

Ordered lists display misaligned by one row too low. This fixes them.

ortegaalfredo avatar Dec 20 '23 22:12 ortegaalfredo

Thanks for that fix. Could you please post an html example file that demonstrates the effect of the fix? The enumerations in demo.html look correct. Which compiler and operation system are you using?

BerndGabriel avatar Jan 01 '24 12:01 BerndGabriel

Yes, here's an html example. I'm using Lazarus 3.0.0, FPC 3.2.2 and Ubuntu (but the bug happens in Windows too):

<html><head><meta charset="UTF-8"></head><style>body{background-color:white;}table{width:100%;margin:0 auto;} td{width:100%;word-wrap:break-word;}pre{}</style><body><table><tr style="align: center;background-color: #EBF5FB;padding: 0px"><td style="border: none;"><pre>write a list of 10 words</pre></td></tr><tr><td style="border: none; padding: 50px;"><ol>
<li>Abundance</li>
<li>Serenity</li>
<li>Ingenuity</li>
<li>Resilience</li>
<li>Empathy</li>
<li>Curiosity</li>
<li>Vitality</li>
<li>Authenticity</li>
<li>Gratitude</li>
<li>Harmony</li>
</ol>
</td></tr><tr style="color:#808080;font-size: 80%;"><td><SYSTEM> You selected "/home/guest/test.html" to save your file.</td></tr></table></body></html>

ortegaalfredo avatar Jan 08 '24 07:01 ortegaalfredo

340 What's wrong here?

BerndGabriel avatar Jan 13 '24 12:01 BerndGabriel