[drupal-devel] theme_box

Tom Dobes tdobes at gmail.com
Tue Jul 5 08:36:26 UTC 2005


On 7/5/05, Karoly Negyesi <karoly at negyesi.net> wrote:
> I am somewhat surprised that theme_box contains no check_plain() calls.

Why should it?  I thought the purpose of theme_box was to be a
multi-purpose container for use by modules.  Putting a check_plain in
there on the content would make it nearly useless, as it would become
impossible to put any HTML tags within the box.  If modules are
putting plain-text content within boxes, they should run the
check_plain themselves.



More information about the drupal-devel mailing list