We shouldn't check_plain() text returned by php code because

  1. We are not printing it in browser
  2. encoded HTML entities are ugly when put on images :)

Patch is simple
textactions.inc, line 240:

-- $text = check_plain($text);

This probably applies to 6.x too

Comments

crea’s picture

This probably applies to static text action too.

dman’s picture

Version: 5.x-3.x-dev » 5.x-3.1

Thanks. It's a fair fix.
I put that into 5--3 and did a release while I was there (it had been pending for a while, waiting for the imageapi incompatability to settle down)
http://drupal.org/node/458984

Didn't look like static text had any problem with it.
Same fix also ported to the version 6 dev

dman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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