The HTML Filter's Allowed Tags do not recognize valid XHTML. For example, <br> is recognized and processed, but <br /> is stripped out.

Comments

TheWhippinpost’s picture

You can add it by going to:

Admin > Input formats > Configure > Configure

Just add it to the existing list.

talkingwires’s picture

No, you can't. Adding <br> to this list will only process the old HTML 4 style of tags. Tags formatted in the XHTML style, <br /> for example, will still be stripped. And adding <br /> to the list of Allowed Tags does not work.

Egon Bianchet’s picture

Did you try to empty the cache?

webernet’s picture

The problem appears to be with the Line Break converter - after disabling it,
tags are no longer stripped from the node.

webernet’s picture

My previous comment should have read:

The problem appears to be with the Line Break converter - after disabling it, <br />
tags are no longer stripped from the node.

Strangely, the <br /> wasn't stripped, but rather converted to a <br>.

webernet’s picture

Version: x.y.z » 5.0-beta1
Paul Natsuo Kishimoto’s picture

Version: 5.0-beta1 » 5.x-dev
webernet’s picture

Version: 5.x-dev » 6.x-dev
Status: Active » Fixed

This appears to have been fixed, break tags all seem to be self closing in output, whether they were written with the closing slash or not.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

christefano’s picture

Version: 6.x-dev » 5.x-dev

If this has been fixed then it was a bug in Drupal 5.x. #172825 is related to this.