Within an AngularJS partial I am looping over a list of entries as follows:
-
It is just basic HTML. AngularJS won't change anything about that. You could use a pre tag instead:
{{ entry.content }}
Or use CSS:
p .content {white-space: pre}
...
{{ entry.content }}
If entry.content contains HTML code, you could use ng-bind-html:
Don't forget to include ngSanitize:
var myModule = angular.module('myModule', ['ngSanitize']);