#3 new
Thomas P.

Liquid generates one long string

Reported by Thomas P. | June 20th, 2008 @ 03:33 AM

Liquid generates one long string out of the template when rendered. I need to preserve the newlines that are in the template, because I generate code for PDFWriter's Techbook parser with the template.

I quick workaround for me was to change

@root.render(context).join

to

@root.render(context).join("\n")

in template.rb.

It would be nice to pass in the join character to the render method.

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Safe template language

People watching this ticket