KillyMXI

Results 143 comments of KillyMXI

`tags` option is deprecated btw. ```js ... selectors: [ { selector: 'i', format: 'outputHtmlTag', options: { tagName: 'i' } }, ... ] ... ``` Version 9 will offer more built-in...

@huntedman Hmm. I wouldn't call it "typescript friendly". More like a hack around `@types/html-to-text`. You are just hijacking a name used for a different purpose and adding a code smell....

Version 8 is now live. It add a pretty good selectors support that allows to match on `style` attribute as well: ```js { selectors: [ { selector: 'p[style*="display:inline"i]', format: 'inline'...

I'd suggest to create a custom formatter for `select` tags. In a formatter you have access to children nodes, you can inspect them and pick whatever you need instead of...

Alternatively, you can skip all `option` tags and only display `option[selected]`, thanks to selectors support. There is no `:not()` selector support (yet), so it will look like this: ```js {...

While the work is being delayed, Node 12 is reaching it's end of life: https://nodejs.org/en/about/releases/ If I were confident about the release being close I would've stick to Node 12...

Yes, I thought I'd need to publish a preview to see how the recent changes would work with webpack in particular. Currently busy with a job, will get to this...

@dargmuesli, v9 preview version is live: `npm i html-to-text@preview`

I have a non-code issue I have to deal with during and after v9 release. I opened a discussion for it: * #261 Looking forward for any feedback.

@webstech Thank you. I was going to keep the `tags` option in another version as it was deprecated relatively recently. So I'm going to address this in the next version...