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

Add option to prevent <p> tags in <blockquote> #11

Closed
wants to merge 1 commit into from

Conversation

jjt
Copy link

@jjt jjt commented Oct 18, 2015

Exposes paragraphBlockquotes (default: true) as an option for the
purpose of suppressing wrapping of <blockquote> content in a <p> tag.

When true (current behaviour):

<blockquote><p>Content...</p></blockquote>

When false:

<blockquote>Content...</blockquote>

Exposes `paragraphBlockquote` (default: true) as an option for the
purpose of suppressing wrapping of `<blockquote>` content in a `<p>` tag.

When `true`:
```html
<blockquote><p>Content...</p></blockquote>
```

When `false`:
```html
<blockquote>Content...</blockquote>
```
@tmcw
Copy link
Contributor

tmcw commented Oct 3, 2016

Thanks - sorry for the delay. This library was rewritten under hast and should now dodge this problem by design.

@tmcw tmcw closed this Oct 3, 2016
@wooorm wooorm added the 🙅 no/wontfix This is not (enough of) an issue for this project label Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙅 no/wontfix This is not (enough of) an issue for this project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants