Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🙅 no/wontfix This is not (enough of) an issue for this project
Development

Successfully merging this pull request may close these issues.

3 participants