Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra spaces on login screen #405

Closed
jicho opened this issue Aug 4, 2013 · 1 comment
Closed

Extra spaces on login screen #405

jicho opened this issue Aug 4, 2013 · 1 comment

Comments

@jicho
Copy link
Contributor

jicho commented Aug 4, 2013

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 ;)

@SSilence
Copy link
Member

SSilence commented Sep 3, 2014

trim? why not ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants