I'm working with a CMS that allows only text in a certain div (HTML , like <br>
, is parsed to <br>
). It is fine with Unicode / HTML codes (e.g. &
would generate &
and @
would generate @
) but it will seemingly not allow a new line / carriage return. How can I put a <br>
in the div, without using HTML?
I've tried:


- https://dev.w3.org/html5/html-author/charref
- New line in text area
- New line in text area

or

or

- https://en.wikipedia.org/wiki/Newline
or
or
- https://en.wikipedia.org/wiki/Newline
Here is a fiddle with the same issue (and HTML structure as output by CMS) > https://jsfiddle.net/w3p4wgcc/ ...Is it just not possible?
With inline css i've managed to do the following:
https://jsfiddle.net/6mqgrym9/
If you need all of your divs to be like this one could say in your stylesheet the following:
if these divs are contained in a root div (which has a id) one could do the following:
If you're allowed to use some javascript you can try this: