Don't html-escape ticket title, it's already escaped
This commit is contained in:
parent
f4a5866dec
commit
59d08782ba
3 changed files with 3 additions and 2 deletions
|
@ -27,6 +27,7 @@ import Data.HashMap.Lazy (HashMap)
|
|||
import Data.Maybe (mapMaybe)
|
||||
import Data.Text (Text)
|
||||
import Data.Time.Clock (UTCTime)
|
||||
import Text.Blaze.Html (preEscapedToHtml)
|
||||
import Yesod.Core (MonadHandler, newIdent)
|
||||
import Yesod.Core.Handler (getCurrentRoute, getRequest, YesodRequest (..))
|
||||
import Yesod.Core.Widget (whamlet)
|
||||
|
|
|
@ -12,7 +12,7 @@ $# You should have received a copy of the CC0 Public Domain Dedication along
|
|||
$# with this software. If not, see
|
||||
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||
|
||||
<h2>#{ticketTitle ticket}
|
||||
<h2>#{preEscapedToHtml $ ticketTitle ticket}
|
||||
|
||||
<div>
|
||||
Created on #{showDate $ ticketCreated ticket} by
|
||||
|
|
|
@ -36,7 +36,7 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|||
|
||||
<span .ticket-title-column>
|
||||
<a href=@{TicketR shr prj $ tsNumber ts}>
|
||||
#{tsTitle ts}
|
||||
#{preEscapedToHtml $ tsTitle ts}
|
||||
$forall wf <- tsLabels ts
|
||||
$maybe wfcol <- workflowFieldColor wf
|
||||
<span .label#{wfcol}>
|
||||
|
|
Loading…
Reference in a new issue