Releases: onizet/html2openxml
Release 3.2.1
- Fix indentation of numbering list #166
- Bordered container must render its content with one bordered frame #168
- Fix serialisation of the "Harvard" style for lower-roman list
- Fix ParseHeader/Footer where input with multiple paragraphs output only the latest
- Ensure to apply default style for paragraphs, to avoid a paragraph between 2 list is mis-guessed
Release 3.2.0
Some API methods have been flagged as obsolete with a clear message of what to use instead. Those obsoletes are designed to highlight the expected output of the API and remove disambiguation between all the "Parse" methods. Documentation have been refreshed as well. No breaking changes as it maintain existing behaviour.
ParseHtml (string html) -> ParseBody
Parse(string html) -> ParseAsync
This release bring support for parsing into Header and Footer which was requested by open source project Cervantes (thanks for your support), a collaborative platform designed specifically for pentesters and red teams.
Release 3.1.1
Release 3.1.0
- Fix table Cell borders are wrongly applied on the run #156
- Correctly handle RTL layout for text, list, table and document scope #86 #66
- Support property line-height #52
- Fallback to
background
style attribute as many users use this simplified attribute version - In
HtmlDomExpression.CreateFromHtmlNode
, use the correct casting toIElement
rather thanIHtmlElement
, to prevent crash ifsvg
node is encountered
Release 3.0.1
Release 3.0
- AngleSharp is now the backend parser for Html
- Refactoring to use the Interpreter/Composite design pattern, which ease the code maintenance
- Lots of new unit test cases (200+)
- Rewriting of list (correct handling of nested style, restarting numbers and consecutive)
- Rewriting of table (row span, col span, col tags driving styles)
- Parallel download of images at early stage of the parsing.
Release 3.0-beta
- AngleSharp is now the backend parser for Html
- Refactoring to use the Interpreter/Composite design pattern, which ease the code maintenance
- Lots of new unit test cases (~200)
- Rewriting of list (correct handling of nested style, restarting numbers and consecutive)
- Rewriting of table (row span, col span, col tags driving styles)
- Parallel download of images at early stage of the parsing.
Release 2.3
What's Changed
- better table border style
- Bump System.Net.Http from 4.3.0 to 4.3.4 in /src/Html2OpenXml by @dependabot in #99
- keep processing html on image download error by @albertoantunes in #103
- Updates DocumentFormat.OpenXml to 2.15.0 by @PrzemyslawKlys in #108
- support for styling ordered/unordered lists and list elements by @fire-oak in #109
New Contributors
- @DynaSpan made their first contribution in #77
- @mattiamerzi made their first contribution in #78
- @alegarro made their first contribution in #95
- @dependabot made their first contribution in #99
- @albertoantunes made their first contribution in #103
- @PrzemyslawKlys made their first contribution in #108
- @fire-oak made their first contribution in #109
Support of OpenXml 2.12.0+
This release bring back support to NET 4.6+, NET Standard 1.3 and NET Standard 2.0.
Use new API OpenXmlCompositeElement.AddChild(OpenXmlElement)
to add children in the correct order per schema, introduces in OpenXML 2.12.0. Previous version of Html2OpenXml was using internal code via Reflection.
Support of OpenXml >= 2.11.0
Release after the PR #71 , which fix a fatal crash with OpenXml >= 2.11.0.
[TLDR] Details are explained in #70
To conform to the OpenXml XSD, this library use an internal method of OpenXml library, to resolve the order of the style tags.
After some internal refactoring of OpenXml, it appears the internal code was no longer accessible.
Taylor, one of the maintainers of OpenXml gratefully provide a PR to accommodate the new API.