Closed astjohn closed 5 years ago
This looks likely due to Premailex.HTMLToPlainText.table_rows/1
not being able to handle th
tags. Will keep digging.
Yeah, it's the table_rows/1
method that doesn't handle <th>
. I'm working on a fix right now 😄
sweet. thank you!
You can try out #35 now, I'll merge to master later and publish a new release.
v0.3.5
has been released. Thanks for letting me know of this issue!
Thanks for this library. I'm keen to use it! We have noticed issues when using deeply nested
<th>
tags. For example:The following snippet results in a blowup with this error:
Replacing the
th
tags withtd
works. I tried naively inserting the table snippet into the test suite to try to get the tests to break, but they passed. So I'm not sure what I'm missing and have yet to dig in too deep to the traverse logic.Any help is greatly appreciated! Thanks!