textillate
textillate copied to clipboard
<br> and <br /> break the parsing.
Hi, If I make my markup as so:
<h2 class="mejor">Websites are more than just pages.</h2>
<h2 class="mejor">Let us help you bring yours to life.</h2>
With this initialization method:
$('.mejor').textillate({ in: { effect: 'rollIn' } });
The effect is as expected:

However, if I insert a break into the h2
element, like so:
<h2 class="mejor">Websites are more than just pages. <br>
Let us help you bring yours to life.</h2>
It breaks the parsing, resulting in this:

Since the underlying technology can handle these <br>
elements, I thought you should know. Otherwise great tool! Thanks.
Currently textillate doesn't support html inside the text. However I do think it's a valuable feature so I'll be looking at ways to support it in the future.
Did this ever get added?
I've just tried
in my HTML but it showed it as
rather than breaking the line.
Hello @jschr,
any update ?