koppor
koppor

Reputation: 20521

How can I add linebreaks in the generated html

I'm starting from the minimal derby application created by derby new first-project. Thereby, the body of the produced html is written in a single line. How can I switch that behavior off to get a pretty printed html to be able to track down bugs like Uncaught SyntaxError: Unexpected token <?

Upvotes: 0

Views: 70

Answers (1)

lefnire
lefnire

Reputation: 2664

If your problem is indeed single-line html, then your answer is x-no-minify: http://derbyjs.com/#whitespace_and_html_conformance.

However, I think your problem is just that the derby starter-project generator, and the examples, are way out of date. Use the derby-boilerplate project

Upvotes: 1

Related Questions