diff --git a/mozilla/webtools/addons/public/tpl/addcomment.tpl b/mozilla/webtools/addons/public/tpl/addcomment.tpl index 753a3504d74..029d7c50736 100644 --- a/mozilla/webtools/addons/public/tpl/addcomment.tpl +++ b/mozilla/webtools/addons/public/tpl/addcomment.tpl @@ -11,7 +11,7 @@ released on {$addon->VersionDateAdded|date_format}
{if $c_added_comment} -You comment has been added successfully.
+Your comment has been added successfully.
diff --git a/mozilla/webtools/addons/public/tpl/addon.tpl b/mozilla/webtools/addons/public/tpl/addon.tpl index 0fb212676ba..eca676b3af4 100644 --- a/mozilla/webtools/addons/public/tpl/addon.tpl +++ b/mozilla/webtools/addons/public/tpl/addon.tpl @@ -90,7 +90,7 @@ Works with: {if $addon->devcomments}{$addon->devcomments|nl2br}
+{$addon->devcomments|nl2br|strip_tags}
{/if}by {$addon->Comments[comments].CommentName}, {$addon->Comments[comments].CommentDate|date_format}
-{$addon->Comments[comments].CommentNote}
+by {$addon->Comments[comments].CommentName|strip_tags}, {$addon->Comments[comments].CommentDate|date_format}
+{$addon->Comments[comments].CommentNote|strip_tags}
{$addon->Comments[comments].helpful_yes} out of {$addon->Comments[comments].helpful_total} viewers found this comment helpful
Was this comment helpful? Yes | No
by {$addon->Comments[comments].CommentName}, {$addon->Comments[comments].CommentDate|date_format}
-{$addon->Comments[comments].CommentNote}
+by {$addon->Comments[comments].CommentName|strip_tags}, {$addon->Comments[comments].CommentDate|date_format}
+{$addon->Comments[comments].CommentNote|strip_tags}
{$addon->Comments[comments].helpful_yes} out of {$addon->Comments[comments].helpful_total} viewers found this comment helpful
Was this comment helpful? Yes | No