Marko v3: Added test for empty close tag (</>)

This commit is contained in:
Patrick Steele-Idem 2016-02-16 21:41:39 -07:00
parent 9c2c99a707
commit 2a5e16cf8e
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
<p><div><span>Hello Frank!</span></div></p>

View File

@ -0,0 +1,6 @@
p
<div>
<span>
Hello ${data.name}!
</>
</>

View File

@ -0,0 +1,3 @@
exports.templateData = {
name: 'Frank'
};