diff options
author | lain <lain@soykaf.club> | 2018-04-04 11:29:03 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-04-04 11:29:03 +0200 |
commit | 81600c94f40a6edd04c1a1db634912b61c9dbc9f (patch) | |
tree | 702787f4a95a97a2e6b17b69c5ef41f0520e5b13 /lib/pleroma/formatter.ex | |
parent | bf953989cd9475f888bbd975ae07ec447fbc340c (diff) | |
download | pleroma-81600c94f40a6edd04c1a1db634912b61c9dbc9f.tar.gz |
Handle + in links.
Diffstat (limited to 'lib/pleroma/formatter.ex')
-rw-r--r-- | lib/pleroma/formatter.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index 3634a8f5b..b30e04e3d 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -144,7 +144,7 @@ defmodule Pleroma.Formatter do @emoji end - @link_regex ~r/https?:\/\/[\w\.\/?=\-#%&@~\(\)]+[\w\/]/u + @link_regex ~r/https?:\/\/[\w\.\/?=\-#\+%&@~\(\)]+[\w\/]/u def html_escape(text) do Regex.split(@link_regex, text, include_captures: true) |