small fix for markdownify
This commit is contained in:
parent
224b59322b
commit
e30c84ee96
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ module Diaspora
|
||||||
"<br />"
|
"<br />"
|
||||||
end
|
end
|
||||||
|
|
||||||
def link(link, title, content)
|
def link(link, title, content='')
|
||||||
return autolink(link, 'url') if link == content
|
return autolink(link, 'url') if link == content
|
||||||
|
|
||||||
if link =~ Regexp.new(Regexp.escape(content))
|
if link =~ Regexp.new(Regexp.escape(content))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue