I have a stupid Problem within Vue: I'm getting an Object which looks like this:
`{ "description": "this ist our List.\n Our Service includes:\n-1 something\n-2 something else\n and another thing\n"}`
how can i filter out the "\n" and the "-1,-2..." and replace them with htm tags, like
?
I already tried a function, which gets a value like:
returnList: function(value){
value.replace("\n","<br>")
return value`
But it doesnt work for all \n's
")`? – Ele Feb 06 '20 at 15:19
") }` – mplungjan Feb 06 '20 at 15:24