Invalid XHTML

Zoltán Balogh - February 14, 2009 - 15:44
Project:Image Caption
Version:6.x-2.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The Image Caption Filter modul uses the DIV tags for „filtering” images. The Drupal following this structure:

<p>Some text <img class="image-left" src=..../> some text.</p>

When this modul filter the image, inserts DIV tags, like this:

<p>Some text <div class="image-left" ><img src=..../><div class="caption">caption</div></div> some text </p>

But this is invalid in XHTML, because a P section can not contains DIV elements. Please replace these DIV tags with SPAN.

#1

BENNYSOFT - February 15, 2009 - 17:28

But this is invalid in XHTML, because a P section can not contains DIV elements. Please replace these DIV tags with SPAN.

Subscribing.

 
 

Drupal is a registered trademark of Dries Buytaert.