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

Lines containing both strong and br tags, get trimmed #38

Open
mupkoo opened this issue Dec 3, 2015 · 0 comments
Open

Lines containing both strong and br tags, get trimmed #38

mupkoo opened this issue Dec 3, 2015 · 0 comments

Comments

@mupkoo
Copy link

mupkoo commented Dec 3, 2015

The content gets trimmed whenever a line contains both strong and br tags.

For example

<html>
<head></head>
<body>
    <h1>Title level 1</h1>
    <hr>
    <h2>Title level 2</h2>

    <h3>Title level 3</h3>
    <div>
        <p>
            <strong>Bold label one</strong> - around 120.<br>
            <strong>Bold label three</strong> - around 90.<br>
            One more line here
        </p>
    </div>
</body>
</html>

Removes everything after the br tag, but only for the current p tag. Here is the result:
screen shot 2015-12-03 at 11 56 32

But once I remove the strong tags, everything gets rendered as expected.

<html>
<head></head>
<body>
    <h1>Title level 1</h1>
    <hr>
    <h2>Title level 2</h2>
    <h3>Title level 3</h3>
    <div>
        <p>
            Bold label one - around 120.<br>
            Bold label two - around 90.<br>
            One more line here
        </p>
    </div>
</body>
</html>

screen shot 2015-12-03 at 11 57 05

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

No branches or pull requests

3 participants