Skip to content

[Play 2.3.8] If condition bring line feed in scala template #77

Open
@puneetar

Description

Hi all,

I am facing issue with if conditions in scala template. In the following circumstance, the html will have white spaces and line breaks in between the two divs.

<div>
    content in previous div.
</div>
@if(condition) {
    <div>
        content in next div
    </div>

}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions