Skip to content

Commit

Permalink
Forgot parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
WalkerMills committed Oct 1, 2018
1 parent c1507c2 commit 2d4b766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_markdown/engine.ex
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ defmodule PhoenixMarkdown.Engine do
smart_tag = ~r/<%.*?%>/
markdown = Regex.replace(smart_tag, markdown, &HtmlEntities.decode/1)

uri_smart_tag = ~r/%3C%25+.*?%25%3E/
uri_smart_tag = ~r/%3C(%25)+.*?%25%3E/
Regex.replace(uri_smart_tag, markdown, &URI.decode/1)
end

Expand Down

0 comments on commit 2d4b766

Please sign in to comment.