don't lex closing bbcode as part of a link (furbooru/philomena#36)

This commit is contained in:
byte[] 2020-09-14 21:20:17 -04:00
parent 6de4ad3ac4
commit 35d80bcf9c

View file

@ -32,6 +32,7 @@ defmodule Philomena.Textile.Lexer do
end_of_link =
choice([
concat(link_ending_characters, extended_space),
string("[/"),
extended_space
])