stripHtml not striping html with other html tags inside
stripHtml not striping html with other html tags inside
![majorsk8](https://secure.gravatar.com/avatar/acd514ed2b6c293e7e2d4ecbf32702cf/?default=https%3A%2F%2Fvanillicon.com%2Facd514ed2b6c293e7e2d4ecbf32702cf_200.png&rating=g&size=120)
Hello,
I'm using Twitter Bootrap Popover http://getbootstrap.com/javascript/#popovers. Html tags can be used inside the content.
When i use Datatables Buttons, option stripHtml is not enought. It stripes all html tags giving unwanted results.
I changed Buttons for DataTables 1.0.3 line with:
c.stripHtml&&(a=a.replace(/<.*?>/g,""));
to:
c.stripHtml&&(a=a.replace(/"<.?>"/g,"").replace(/<.?>/g,""));
This discussion has been closed.
Replies
Interesting - so you have markup in the attributes? Your workaround sounds look - let me look into putting that in.
Allan