In haml the following would produce the correctly nested HTML:
%p Hi There I'm inside this paragraph
%button I'm also inside this paragraph
Produces:
<p> Hi There I'm inside this paragraph <button>I'm also inside this paragrpah</button></p>
In Emblem.js if I do:
p Hi There I'm inside this paragraph
%button I'm also trying to be in the paragraph
It produces this:
<p> Hi There I'm inside this paragraph %button I'm also trying to be in the paragraph</p>
Does anyone know how to nest content and elements inside emblem.js?