New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support text blocks in Diet templates #510

Closed
s-ludwig opened this Issue Feb 9, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@s-ludwig
Member

s-ludwig commented Feb 9, 2014

Jade supports blocks of text by appending a . to the tag:

pre.
    Hello, World!
    This is some text.

is equivalent to:

pre
    |Hello, World!
    |This is some text.

This would be nice to have in general, but in particular it would enable removing the current special case for <script> and <style> tags in this regard.

@nazriel

This comment has been minimized.

Show comment
Hide comment
@nazriel

nazriel Feb 13, 2014

Contributor

#518 👻

Contributor

nazriel commented Feb 13, 2014

#518 👻

nazriel added a commit to nazriel/vibe.d that referenced this issue Feb 13, 2014

nazriel added a commit to nazriel/vibe.d that referenced this issue Feb 17, 2014

s-ludwig added a commit that referenced this issue Feb 17, 2014

Merge pull request #518 from nazriel/issue510
Fix issue #510: Support text blocks in Diet templates

@s-ludwig s-ludwig closed this Mar 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment