diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
| commit | b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (patch) | |
| tree | 0ce300329bb2b6ace0e0fd72c94fe5fbb7e4db96 /modules/notification/views/comment_published.html.php | |
| parent | 952c8856098dcfd9673d344fc71be85b303c8fb1 (diff) | |
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'modules/notification/views/comment_published.html.php')
| -rw-r--r-- | modules/notification/views/comment_published.html.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/notification/views/comment_published.html.php b/modules/notification/views/comment_published.html.php index 02daf921..e39e39c6 100644 --- a/modules/notification/views/comment_published.html.php +++ b/modules/notification/views/comment_published.html.php @@ -1,26 +1,26 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <html> <head> - <title><?= SafeString::of($subject) ?> </title> + <title><?= html::clean($subject) ?> </title> </head> <body> - <h2><?= SafeString::of($subject) ?></h2> + <h2><?= html::clean($subject) ?></h2> <table> <tr> <td><?= t("Comment:") ?></td> - <td><?= nl2br(SafeString::purify($comment->text)) ?></td> + <td><?= nl2br(html::purify($comment->text)) ?></td> </tr> <tr> <td><?= t("Author Name:") ?></td> - <td><?= SafeString::of($comment->author_name()) ?></td> + <td><?= html::clean($comment->author_name()) ?></td> </tr> <tr> <td><?= t("Author Email:") ?></td> - <td><?= SafeString::of($comment->author_email()) ?></td> + <td><?= html::clean($comment->author_email()) ?></td> </tr> <tr> <td><?= t("Author URL:") ?></td> - <td><?= SafeString::of($comment->author_url()) ?></td> + <td><?= html::clean($comment->author_url()) ?></td> </tr> <tr> <td><?= t("Url:") ?></td> |
