t() has a special syntax for placing emphasis on variables, so

t("Your test word '<em>@word</em>' did not match any filters", array('@word' => $word));

can be rewritten as

t("Your test word '%word' did not match any filters", array('%word' => $word));

Besides slightly improved readibility, this allows themers to change how emphasis is rendered...

CommentFileSizeAuthor
#1 wordfilter-em-retry.patch1008 bytesmr.baileys
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mr.baileys’s picture

FileSize
1008 bytes

Patch upload failed, trying again.

jaydub’s picture

Status: Needs review » Fixed

That makes perfect sense. Thanks for the report.

http://drupal.org/cvs?commit=317920
http://drupal.org/cvs?commit=317918

Status: Fixed » Closed (fixed)

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