I’m trying to set a title attribute on an <a> in a vue.js JS template that has line breaks in it. I’ve tried all of the following with no success:
An actual line break in the code
How do I make the vue.js JS template parser recognize a line break? I’m using Chrome 74 on a Mac.
<a v-bind:title=”‘Gday\nWorld’”>Hello World</a>
or if you’re ok with a really ugly template:
(any indenting will be added to the second line in the tooltip)