Closed artegoser closed 1 month ago
@artegoser, if a plugin does not provide its own html2text, then we use shared "compiled" html-to-text, right?
@artegoser, if a plugin does not provide its own html2text, then we use shared "compiled" html-to-text, right?
If the engine does not produce textContent, then the html2text function is executed, which is implemented in the config.
Plugins code before:![image](https://github.com/TxtDot/txtdot/assets/59178854/55d62c42-033a-47b2-a837-5d51e0fc7b4b)
After:![image](https://github.com/TxtDot/txtdot/assets/59178854/0682eb43-054e-4892-aa41-cfc43ebcd52a)
Text format before:![image](https://github.com/TxtDot/txtdot/assets/59178854/fecd9aea-237b-4ae2-b5b6-98c1fcbf912a)
After:![image](https://github.com/TxtDot/txtdot/assets/59178854/edb6ab12-419e-4f35-b3fe-d0f0f697616c)
Related: #31 Fixes: #100