I'm adding custom content to a panel, and as part of that content, I'm substituting in a text field (from the node this panel is overwriting). The field and the custom content are both set to use the filtered html text filter.

When substituting in paragraph and line breaks, the filter handles the custom content correctly. But it puts a single paragraph tag around the whole of the paragraph containing the field substitution (whether or not there is other text in that paragraph). It also converts all instances of line breaks within the field into line break tags, even when there are multiple line breaks and it should be putting in a paragraph tag.

Comments

merlinofchaos’s picture

Status: Active » Closed (works as designed)

Panels has no control over the text processing you run it through. That behavior sounds like the default paragraph/linebreak filter. There's really nothing Panels can do about that.

bouncelot’s picture

Title: Text format processing and custom content » Text format processing and

So I can properly report it as an issue with the filters, how does the substitution work? Is it simply an additional filter applied before the text filters?