Skip to content
New issue

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

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

Already on GitHub? # 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.

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

No branches or pull requests

2 participants