Facebook: md_escape für Links

This commit is contained in:
Andreas Bielawski 2016-06-22 17:41:48 +02:00
parent e4da50b660
commit f35b693349

View File

@ -53,7 +53,7 @@ function facebook:fb_post (id, story_id)
local message = data.message
local name = data.name
if data.link then
link = '\n'..data.name..':\n'..data.link
link = '\n'..data.name..':\n'..utilities.md_escape(data.link)
else
link = ""
end