scala directives in text template produces unwanted new lines · Issue #2571 · playframework/playframework

Doing something like this: @for(e <- Jsoup.parseBodyFragment(resume.cover).body().children().listIterator()) { @e.tagName match { case "p" => { @tags.p2txt(e.text()) } case &quo...