Add specs for Microformats2::AbsoluteUri
This commit is contained in:
parent
d8545d9930
commit
cb918e2dd1
2 changed files with 74 additions and 1 deletions
|
@ -19,7 +19,7 @@ module Microformats2
|
|||
uri.normalize!
|
||||
uri.to_s
|
||||
|
||||
rescue URI::InvalidURIError => e
|
||||
rescue URI::BadURIError, URI::InvalidURIError => e
|
||||
relative.to_s
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue