Minimal HTML example
<style>a{}</style>'<br/>
Observed output
Expected output
Version information
- html-to-text: 9.0.4
- node: 18.14.2
The problem seems to arise with either a <script> or <style> block, followed by text with an entity (&blah;). HTML afterwards gets copied over literally without any further text conversion.