Commit Graph

5 Commits

Author SHA1 Message Date
Javi Martín
61bf9a5c73 Use sanitize instead of html_safe
The difference is `html_safe` allows every HTML tag, including the
`<script>` tag, while `sanitize` only allows tags which are considered
safe. In this case, we want to allow a `<span>` tag in a translation,
and links inside flash messages.
2019-10-08 18:46:21 +02:00
Fernando Blat
a5421597a4 Safe call to flash text 2017-01-05 17:12:42 +01:00
Fernando Blat
1fbb10ff34 Include link to resource in the flash message 2017-01-05 17:03:08 +01:00
Alberto Garcia Cabeza
c835d9b1d1 improves styles for flash notices 2016-10-19 10:54:48 +02:00
kikito
8bcbe86064 Refactor layout flash usage and move to a partial 2016-04-28 12:46:27 +02:00