IpHtmlPanel: Missing rendering of extra line when a <br> tag is between two tables.
- Lazarus/FPC Version: probably any (tested with Lazarus 2.3.0 (rev main-2_3-1316-gc8481dc0) FPC 3.2.2 i386-win32-win32/win64)
- Operating System: probably any (tested with Win 11)
- CPU / Bitness: probably any (tested with 32-bit IDE)
The issue was first brought up by forum user Soner in https://forum.lazarus.freepascal.org/index.php/topic,59390.0.html.
When a html text contains two tables and there is a
<br> tag between them (see test file below) no extra line is inserted between the tables.
What did you expect
An empty line between the two tables. That's how the test file below is rendered by Firefox.
Steps to reproduce
The issue can be seen when the following html text is loaded into the
HtmlFileExplorer1 project coming with Lazarus (folder
<html> <body> <table border="1" cellspacing="0"> <tr> <td>abc</td><td>def</td><td>ghi</td> </tr> </table> <br> <table border="1" cellspacing="0"> <tr> <td>ABC</td><td>DEF</td><td>GHI</td> </tr> </table> </body> </html>