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

Incorrect markup generated when a divider tag is on its own line within a paragraph #194

Closed
2 tasks done
gocom opened this issue Aug 30, 2019 · 0 comments
Closed
2 tasks done
Assignees
Milestone

Comments

@gocom
Copy link
Member

gocom commented Aug 30, 2019

Prerequisites

  • Are you running the latest version of PHP-Textile?
  • $ composer update?

Problematic Textile markup

First _line_ of paragraph.
<br /><br />
Third *line* of paragraph.

Expected output

<p>First <em>line</em> of paragraph.<br />
<br />
<br />
Third <strong>line</strong> of paragraph.</p>

Actual output

First _line_ of paragraph.
<br /><br />
Third *line* of paragraph.

Used PHP code

Test suite fixture.

Additional information

PHP-Textile version: 3.7.2
PHP version: 7.3.2

@gocom gocom self-assigned this Aug 30, 2019
@gocom gocom added the Defect label Aug 30, 2019
@gocom gocom added this to the 3.7.3 milestone Aug 30, 2019
@gocom gocom closed this as completed in 977b321 Aug 30, 2019
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

1 participant