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}

Developer Comments

-

{$addon->devcomments|nl2br}

+

{$addon->devcomments|nl2br|strip_tags}

{/if}

User Comments

@@ -101,9 +101,9 @@ Works with: {section name=comments loop=$addon->Comments max=10}
  • {$addon->Comments[comments].CommentVote} out of 5
    -

    {$addon->Comments[comments].CommentTitle}

    -

    by {$addon->Comments[comments].CommentName}, {$addon->Comments[comments].CommentDate|date_format}

    -

    {$addon->Comments[comments].CommentNote}

    +

    {$addon->Comments[comments].CommentTitle|strip_tags}

    +

    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

  • @@ -124,7 +124,7 @@ Was this comment helpful? ID}/history/">all previous releases of this addon. -{if $addon->UserWebsite} +{if $addon->Homepage}
  • View the Author's homepage for this addon.
  • {/if} diff --git a/mozilla/webtools/addons/public/tpl/comments.tpl b/mozilla/webtools/addons/public/tpl/comments.tpl index 3a53bee088f..c6e89b040f3 100644 --- a/mozilla/webtools/addons/public/tpl/comments.tpl +++ b/mozilla/webtools/addons/public/tpl/comments.tpl @@ -54,9 +54,9 @@ Next Page » {section name=comments loop=$addon->Comments}
  • {$addon->Comments[comments].CommentVote}out of 5
    -

    {$addon->Comments[comments].CommentTitle}

    -

    by {$addon->Comments[comments].CommentName}, {$addon->Comments[comments].CommentDate|date_format}

    -

    {$addon->Comments[comments].CommentNote}

    +

    {$addon->Comments[comments].CommentTitle|strip_tags}

    +

    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