Skip to content

Extra spaces on login screen #405

@jicho

Description

@jicho

When Selfoss generates the login screen on my RasPi I get some "free line breaks
" in the generated HTML (Dutch translation), result... The ":" ends up on the next line :(

Generated example:

<ul id="login">
        <li><h1>selfoss login</h1></li>
        <li><label>gebruikersnaam
:</label> <input type="text" name="username" id="username" /></li>
        <li><label>wachtwoord
:</label> <input type="password" name="password" /></li>
                <li class="button"><label>&nbsp;</label><input type="submit" value="inloggen
" /></li>
    </ul>

I have this issue on all browsers on all platforms, but when I run my test version of Selfoss on a XAMPP installation (Mac version) there is no problem.

What's the best way to fix this? Add a trim() to the template? It works, but it feels like a cheapy solution ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions