another shot at fixing markdownify
This commit is contained in:
parent
e30c84ee96
commit
83b99890ba
1 changed files with 4 additions and 1 deletions
|
|
@ -75,7 +75,10 @@ module Diaspora
|
|||
"<br />"
|
||||
end
|
||||
|
||||
def link(link, title, content='')
|
||||
def link(link, title, content)
|
||||
#hax
|
||||
content ||=''
|
||||
|
||||
return autolink(link, 'url') if link == content
|
||||
|
||||
if link =~ Regexp.new(Regexp.escape(content))
|
||||
|
|
|
|||
Loading…
Reference in a new issue