Skip to content
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
Closed

Support text blocks in Diet templates #510

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

Comments

@s-ludwig
Copy link
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
Copy link
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
Fix issue #510: Support text blocks in Diet templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants