![testWebPageSaveAndViewXHTMLStyle-reference-snapshot-1.png.png](https://lab.nexedi.com/tsoulard/erp5/-/raw/38d75ee76e5964eb0d18ed778c1843f7d3c2d5c6/bt5/erp5_web_ui_test/PathTemplateItem/portal_tests/erp5_web_zuite/testWebPageSaveAndViewXHTMLStyle-reference-snapshot-1.png.png)
-
Jérome Perrin authored
gadget_html_viewer had styles to add a border for tables, so that they look similar to tables added in CKEditor. One problem is that all tables had borders, because HTML emails are often using tables to position the content, when viewing an Mail Message from ERP5 back office interface we could see all the borders, which looked a bit ugly. These changes bring back a behavior closer to default style sheet of browsers: tables have no border by default, but a rule is added to emulate the rendering of border="1" attributes, so that tables edited with CKEditor have borders and look the same in the editor or in the html viewer.
ac0ad881
![testWebPageSaveAndViewXHTMLStyle-reference-snapshot-1.png.png](https://lab.nexedi.com/tsoulard/erp5/-/raw/38d75ee76e5964eb0d18ed778c1843f7d3c2d5c6/bt5/erp5_web_ui_test/PathTemplateItem/portal_tests/erp5_web_zuite/testWebPageSaveAndViewXHTMLStyle-reference-snapshot-1.png.png)