node-html-to-text
node-html-to-text copied to clipboard
Advanced html to text converter
**Minimal HTML example** ```html HelloWorld ``` **Options** ```javascript import { convert } from ' convert("HelloWorld"); ``` **Observed output** ``` html-to-text.js:158 Uncaught TypeError: selderee.DecisionTree is not a constructor at compile (html-to-text.js:158:1)...
I would like to ask if it is possible to disable any new lines? Additionally is it possible to trim text? best regards
I am keep having this error: ``` ./node_modules/@selderee/plugin-htmlparser2/lib/hp2-builder.mjs Can't import the named export 'Picker' from non EcmaScript module (only default export is available) ``` when I am using html-to-text to...
**The goal** *What are you trying to achieve?* Run convert function **Best attempt** *What you've tried to do so far to achieve your goal?* Installed html-to-text on a react typescript...
Not asking for a change but this patch broke the typescript type definitions test. The test has no `format` specified: ``` tags: { a: { options: { hideLinkHrefIfSameAsText: true, linkBrackets:...
I am using this package to extract the text from html email content and I want to retain the anchor tag as it is. For example example should not be...
Work is being done in [v9 branch](https://github.com/html-to-text/node-html-to-text/tree/v9). ### Checklist - [x] Node ~~12~~ 14 is the minimal supported version - [x] Bump dependencies - [x] `parseley` and `selderee` are pure...
I am setting in the config `wordwrap: 80` (just as an example) so that all of the output is wrapped at 80 characters. It seems to work beautifully, except when...
**The goal** My HTML contains `` form controls. The parser extracts the text for every `` in the menu. I want it to only extract the control as it's displayed...
I am trying to use html-to-text as part of a spreadsheet IMPORTHTML function (webix sheets library). It works really well using browserify. With tables it would be wonderful if the...