summaryrefslogtreecommitdiff
path: root/elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-07-25 12:50:37 +0200
committerYorhel <git@yorhel.nl>2020-07-25 12:50:37 +0200
commit40ea78ddfa265daea03f9904784bc0c35980b894 (patch)
treeb4235d593e099ed199a41514e1cb5dabdcd1810c /elm
parent5ed819ce09bb2da4d143fd6aba7a20bf8f08ff93 (diff)
Reports: Nicer formatting of the reporting subject
Diffstat (limited to 'elm')
-rw-r--r--elm/Report.elm3
1 files changed, 2 insertions, 1 deletions
diff --git a/elm/Report.elm b/elm/Report.elm
index 5bb75aaf..8cbf498e 100644
--- a/elm/Report.elm
+++ b/elm/Report.elm
@@ -7,6 +7,7 @@ import Browser
import Browser.Navigation exposing (load)
import Lib.Html exposing (..)
import Lib.Api as Api
+import Lib.Ffi as Ffi
import Gen.Api as GApi
import Gen.Report as GR
@@ -56,7 +57,7 @@ view (state,model) =
, if state == Api.Error GApi.Success
then p [] [ text "Your report has been submitted, a moderator will look at it as soon as possible." ]
else table [ class "formtable" ] <|
- [ formField "Subject" [ a [ href model.path ] [ text model.title ] ]
+ [ formField "Subject" [ span [ Ffi.innerHtml model.title ] [] ]
, formField ""
[ text "Your report will be forwarded to a moderator."
, br [] []