K-Phoen / backstage-plugin-confluence

Confluence plugins for backstage
MIT License
52 stars 15 forks source link

Integration of HtmlToText library #183

Open Vity01 opened 1 year ago

Vity01 commented 1 year ago

Current simple conversion HTML into text using Regex is not good enough . Eg. HTML entities like  & are not being converted at all. I integrated support for HtmlToText . This library has also many additional settings for conversion. It's probably slower than using simple regex, but the output is much more readable for user. My code is backward compatible. @K-Phoen please consider, evaluate, merge & release :-).