I have a bizarre issue with the following code:
I save text that has been inputted using a areatext-box to a SQL DB. In the DB there are no leading or trailing white spaces.
When I then display the text inside a div using angular {{ model.text }}
it magically adds these weird leading and trailing white spaces:
<pre class="ng-binding"> Line1
Line2
Line3
Line4
</pre>
as you can see in the pre tag there is leading and trailing spaces. Please note that this also happens when this is inside a div and is not restricted to the pre tags.
I am stumped..
I already tried a filter to remove leading and trailing spaces and also nuked all css on the parent containers.