mirror of https://github.com/M66B/FairEmail.git
Leave tables alone
This commit is contained in:
parent
a682f5a9e5
commit
c40f3efda7
|
@ -682,8 +682,7 @@ public class HtmlHelper {
|
||||||
if (element.parent() != null && !display_hidden) {
|
if (element.parent() != null && !display_hidden) {
|
||||||
Float s = getFontSize(value, 1.0f);
|
Float s = getFontSize(value, 1.0f);
|
||||||
if (s != null && s == 0) {
|
if (s != null && s == 0) {
|
||||||
if (!"table".equals(element.tagName()) ||
|
if (!"table".equals(element.tagName())) {
|
||||||
!"fixed".equals(kv.get("table-layout"))) {
|
|
||||||
Log.i("Removing no height/width " + element.tagName());
|
Log.i("Removing no height/width " + element.tagName());
|
||||||
element.remove();
|
element.remove();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue