Open links from event URL and in event description in external window

And add rel='noopener noreferrer' on them

Closes #282 and #283

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-11-04 15:32:55 +01:00
parent fb25c7c07f
commit 0a844aa174
6 changed files with 49 additions and 40 deletions

View File

@@ -106,9 +106,7 @@ config :auto_linker,
# TODO: Set to :no_scheme when it works properly
validate_tld: true,
class: false,
strip_prefix: false,
new_window: false,
rel: false
strip_prefix: false
]
config :phoenix, :format_encoders, json: Jason, "activity-json": Jason