Skip to content

Customized blockquote handling removes elements #8

@greatislander

Description

@greatislander

It looks like the changes made to htmLawed's <blockquote> handling in this package have caused a regression in 2.2.

Steps to Reproduce

  1. Pass the following HTML through Htmlawed::filter() with default configuration:
<blockquote>
  <p>Line 1</p>
  <p>Line 2</p>
  <p>Line 3</p>
</blockquote>

Expected Result

The markup is left unchanged.

Actual Result

The <p> tags are stripped from all but the first <p> within the blockquote.

<blockquote>
  <p>Line 1</p>
  Line 2
  Line 3
</blockquote>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions