stripHtml not striping html with other html tags inside
stripHtml not striping html with other html tags inside

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