Merge commit 'e6591bf322
' into kb-draft-15.13-lts
This commit is contained in:
commit
8361a857ff
18 changed files with 120 additions and 35 deletions
|
@ -30,7 +30,10 @@ class ActivityPub::Parser::StatusParser
|
|||
end
|
||||
|
||||
def url
|
||||
url_to_href(@object['url'], 'text/html') if @object['url'].present?
|
||||
return if @object['url'].blank?
|
||||
|
||||
url = url_to_href(@object['url'], 'text/html')
|
||||
url unless unsupported_uri_scheme?(url)
|
||||
end
|
||||
|
||||
def text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue