Permalink
Browse files

Use HTML entities

  • Loading branch information...
1 parent f13f1f8 commit b3dc2d1c40fed46a4f3f32d1fbffea6dca5e6c1f @julienrf committed Apr 7, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 app/views/html/notification.scala
  2. +1 −1 app/views/layout.scala.html
  3. +1 −1 app/views/pollForm.scala.html
@@ -12,7 +12,7 @@ object notification {
case Error => "error"
}
Html(
- """<span class="notification"> - <span class="content %s">%s <span class="button" title="%s">×</span></span></span>"""
+ """<span class="notification"> - <span class="content %s">%s <span class="button" title="%s">&times;</span></span></span>"""
.format(kindClass, HtmlFormat.escape(notification.message), Messages("hide"))
)
}
@@ -23,7 +23,7 @@
</article>
<footer>
- © Zenexity 2012 Yohann Bredoux, Julien Richard-Foy, Gwenaëlle Georget
+ &copy; Zenexity 2012 &mdassh; Yohann Bredoux, Julien Richard-Foy, Gwena&euml;lle Georget &mdash;
@helper.form(action = routes.Chooze.changeLocale(), 'class -> "change-locale") {
<label>@Messages("languages")
<select name="locale">
@@ -9,7 +9,7 @@
<div style="display: inline-block; width: 95%">
@form.inputText(alternative, Messages("poll.alternative"))
</div>
- <span class="button remove-alternative" title="@Messages("remove")">×</span>
+ <span class="button remove-alternative" title="@Messages("remove")">&times;</span>
@form.errors(alternative)
</div>
}

0 comments on commit b3dc2d1

Please sign in to comment.