yadcf
yadcf copied to clipboard
Tags inside html properties break column_data_type=rendered_html
Example: https://jsfiddle.net/pfnmvaex/
The rendered html is:
<abbr title="hello<br>world">some_text</abbr>
The result, as can be seen in the JSFiddle above:
Hi m417z
column_data_type: 'html',
text_data_delimiter: " world ",
Using column_data_type: 'html'
has a different use case. Change the render
function to the following and see the difference:
return '<abbr title="hello<br>world">Mr. ' + x + '</abbr>';
As for the issue itself, I suspect that it might actually be a limitation of DataTables, not the plugin. I didn't investigate too much since I found a workaround for my case.