Skip to content

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

Closed
@fcorneli

Description

@fcorneli

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions