It seems that wysiwyg_filter somehow stips out allowed html somehow.

Configuration
- Drupal 6.13 Default Installation.
- WYSIWYG Filter default settings.
- WYSIWYG Filter as a new input filter without any other filter.

When entering:

<p>Paragraph 1</p><p>Paragraph 2</p>

it strips out all HTML.

See also attatched screenshot

CommentFileSizeAuthor
wysiwyg_filter-output.png16.51 KBalexanderpas

Comments

markus_petrux’s picture

Priority: Critical » Normal

Oh, I see. Please, visit the configure tab of the input format and save as-is. This should populate the filter settings properly.

This is not critical, no security issue involved here. I'll work on a patch later.

markus_petrux’s picture

Title: WYSIWYG Filter Strips out allowed HTML. » WYSIWYG Filter Strips out allowed HTML when filter settings have not been saved
Status: Active » Fixed

Fix committed to CVS. It will be available in the next development snapshot.

In addition to this fix, I have splitted the code into several includes to minimize memory consumption while the filter is not used.

http://drupal.org/cvs?commit=261960

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.