Forum Discussion
Eric_J_Hansen
9 years agoQrew Cadet
Actually, after testing it, it cuts off at the first space between words. Chris, do you have a way to fix that? I've never used this method before.
_anomDiebolt_
9 years agoQrew Elite
You expect us to read that blob of text?
BTW, you have an extra space in this sting of text:
"of severity durat ion has passed"
On other matters when the text becomes that long you are better off doing this in script. Your markup can concisely be writtin in script using a new ES6 feature called string interpolation using backticks:
var markup = '
Hello ${variable}, how are you today?
';
See:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
BTW, you have an extra space in this sting of text:
"of severity durat ion has passed"
On other matters when the text becomes that long you are better off doing this in script. Your markup can concisely be writtin in script using a new ES6 feature called string interpolation using backticks:
var markup = '
Hello ${variable}, how are you today?
';
See:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals