Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
#1 | wordfilter-em-retry.patch | 1008 bytes | mr.baileys |
Comments
Comment #1
mr.baileysPatch upload failed, trying again.
Comment #2
jaydub CreditAttribution: jaydub commentedThat makes perfect sense. Thanks for the report.
http://drupal.org/cvs?commit=317920
http://drupal.org/cvs?commit=317918