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

First paragraph break missing from description list entry in HTML output #74

Open
pyrrhicPachyderm opened this issue Feb 19, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@pyrrhicPachyderm
Copy link

Take the following ronn input:

* An entry:
	The first paragraph

	The second paragraph

	The third paragraph

This should create a description list, where the entry has thee paragraphs. This works fine in roff output, but falls down in HTML output. The following HTML is produced:

<dl>
<dt>An entry</dt>
<dd>  The first paragraph

    <p>The second paragraph</p>

    <p>The third paragraph</p>
</dd>
</dl>

Note that the first paragraph is not set off with a <p> tag. As such, the break between the first and second paragraph is not rendered. The following should be produced instead:

<dl>
<dt>An entry</dt>
<dd>  <p>The first paragraph</p>

    <p>The second paragraph</p>

    <p>The third paragraph</p>
</dd>
</dl>
@apjanke apjanke self-assigned this Jan 23, 2023
@apjanke apjanke added the bug Something isn't working label Jan 23, 2023
@apjanke apjanke added this to Needs triage in ronn-ng via automation Jan 23, 2023
@apjanke apjanke added this to the 0.10.2 milestone Jan 23, 2023
@apjanke
Copy link
Owner

apjanke commented Jan 23, 2023

Yep, that sure looks like a bug. Targeting this for a fix in Ronn-NG 0.10.2.

@apjanke apjanke moved this from Needs triage to High priority in ronn-ng Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: High priority
ronn-ng
  
High priority
Development

No branches or pull requests

2 participants