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

Configuration to keep the first newline after a pebble tag #327

Open
electrotype opened this issue Jul 31, 2016 · 2 comments
Open

Configuration to keep the first newline after a pebble tag #327

electrotype opened this issue Jul 31, 2016 · 2 comments

Comments

@electrotype
Copy link

electrotype commented Jul 31, 2016

Is there a reason why the first newline after a pebble tag is ignored? I guess it has something to do with HTML, but I'd like to use Pebble as a templating engine for other formats than HTML.

Let's say I have a template which is :

{{param1}}
{{param2}}

How can I make Pebble generate :

val1
val2

As is, with the newline?
Is there a configuration to keep the first newline after a pebble tag?

@Katharine
Copy link
Contributor

I think you may have the wrong project? I have no idea what you're talking about.

@electrotype
Copy link
Author

Oh crap, I'm very sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants