Closed nboughton closed 9 years ago
I have a jade template that I want to process that uses the following code:
div.comic #[img(src='/gfx/comic/jeffandgary-3.png')]
Which, when parsed in Go using jade.Parse(), produces the following output:
<div class="comic">#[img(src='/gfx/comic/jeffandgary-3.png')]</div>
I get the same output with inline href tags as well:
p this is a test #[a(href="/testing/test.html") because tests are nice] and we like tests.
produces:
<p>this is a test #[a(href="/testing/test.html") because tests are nice] and we like tests.</p>
Should I just modify the template to put the img tag on a newline or are you planning to implement inline tags as per the Jade spec?
I have a jade template that I want to process that uses the following code:
Which, when parsed in Go using jade.Parse(), produces the following output:
I get the same output with inline href tags as well:
produces:
Should I just modify the template to put the img tag on a newline or are you planning to implement inline tags as per the Jade spec?