v4.0.0rc4-branch #5

Merged
asonix merged 40 commits from v4.0.0rc4-branch into asonix/changes 2022-11-14 16:53:51 +00:00
Showing only changes of commit 96f51e593f - Show all commits

View file

@ -76,6 +76,7 @@ class Account::Field < ActiveModelSerializers::Model
def extract_url_from_html
doc = Nokogiri::HTML(value).at_xpath('//body')
return if doc.nil?
return if doc.children.size > 1
element = doc.children.first