AnthonyNahas / ngx-linkifyjs

Angular V8 wrapper for linkifyjs - library for finding links in plain text and converting them to HTML <a> tags via linkifyjs
https://anthonynahas.github.io/ngx-linkifyjs
MIT License
41 stars 20 forks source link

Support for linkifyjs/html package to get html format as output #163

Open sidjai09 opened 3 years ago

sidjai09 commented 3 years ago

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x ] feature request

Desired functionality

I want to switch between linkifyjs/string and linkifyjs/html

linkifyjs/string Package do following var str = '

For help with GitHub.com, please email support@github.com

'; linkifyHtml(str, { / ... / });

return '<p>For help with GitHub.com, please email support@github.com</p>'

while

linkifyjs/html Package do following var str = '

For help with GitHub.com, please email support@github.com

'; linkifyHtml(str, { / ... / });

return '

For help with GitHub.com, please email support@github.com

'

Mention any other details that might be useful