Skip to content

Commit

Permalink
Update middleware.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent authored Nov 8, 2019
1 parent 0d660ba commit 35f85cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html-proofer/middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def call(env)
'response',
Middleware.options
).check_parsed(
Nokogiri::HTML(Utils.clean_content(html)), 'response'
Nokogiri::HTML5(html), 'response'
)

if parsed[:failures].length > 0
Expand Down

0 comments on commit 35f85cb

Please sign in to comment.