How to show correctly text with some simple html format (e. g: \n for line break)?
I am using filter with trustAsHtml such as below, but it does not work, while if I am using non md-data-table, it works.
.filter('unsafe', function ($sce){
return function (val) {
return $sce.trustAsHtml(val);
}
})
How to show correctly text with some simple html format (e. g:
\n
for line break)? I am using filter withtrustAsHtml
such as below, but it does not work, while if I am using non md-data-table, it works.