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

text-align: justify; and <br/> #433

Closed
fcorneli opened this issue Jan 20, 2020 · 0 comments
Closed

text-align: justify; and <br/> #433

fcorneli opened this issue Jan 20, 2020 · 0 comments

Comments

@fcorneli
Copy link

The following example demonstrates an issue with text-align: justify; and <br/>.

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <style>
            body {
                text-align: justify;
            }
        </style>
        <title>test</title>
    </head>
    <body>
        <p>
            hello world<br/>
            hello
        </p>
        <p style="text-align: left;">
            hello world<br/>
            hello
        </p>
    </body>
</html>

The <br/> element should not trigger a justify on its line. The two paragraphs should look exactly the same. The original Flying Saucer does not have this issue.

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

No branches or pull requests

2 participants