7 Commits

Author SHA1 Message Date
John MacFarlane 08bef38491 Revert "Revert "Update #8764 command test for latest change to HTML table parser (#8634).""
This reverts commit acbc382ff4.
2023-08-05 11:54:31 -07:00
John MacFarlane d7a7f5ad19 Revert "Update TableBody RowHeadColumns caculation: change from max to min (#8634)"
This reverts commit f257c97170.

For the reason, see #8984.  The change caused the "grid shape"
of some tables to change.
2023-08-05 11:16:22 -07:00
Ruqi f257c97170 Update TableBody RowHeadColumns caculation: change from max to min (#8634)
This change sets RowHeadColumns to the minimum value of each row, which
gives better results in cases where rows have different numbers of leading th tags.
2023-06-24 09:18:03 -07:00
Albert Krewinkel 8c38390038 HTML reader tests: improve test coverage of new features 2020-11-27 21:21:25 +01:00
Ole Martin Ruud 45479114e8 HTML reader/writer: Better handling of <q> with cite attribute (#5837)
* HTML reader: Handle cite attribute for quotes.  If a `<q>` tag has a `cite` attribute, we interpret it as a Quoted element with an inner Span.  Closes #5798

* Refactor url canonicalization into a helper function

* Modify HTML writer to handle quote with cite.

[0]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
2019-10-24 22:27:49 -07:00
hftf 7f8a3c6cb7 Consistent underline for Readers (#2270)
* Added underlineSpan builder function.  This can be easily updated if needed. The purpose is for Readers to transform underlines consistently.

* Docx Reader: Use underlineSpan and update test

* Org Reader: Use underlineSpan and add test

* Textile Reader: Use underlineSpan and add test case

* Txt2Tags Reader: Use underlineSpan and update test

* HTML Reader: Use underlineSpan and add test case
2017-10-27 18:45:00 -04:00
John MacFarlane 18ab864269 Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00