mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
FIX: remove Nokogumbo references (#13951)
Specs broken after f4720205c0
This commit is contained in:
parent
4c041eb9f5
commit
354c939656
@ -1,6 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "nokogumbo"
|
||||
require "securerandom"
|
||||
|
||||
class HtmlToMarkdown
|
||||
|
@ -145,7 +145,7 @@ describe SearchIndexer do
|
||||
end
|
||||
|
||||
it 'should work with invalid HTML' do
|
||||
post.update!(cooked: "<FD>" * Nokogumbo::DEFAULT_MAX_TREE_DEPTH)
|
||||
post.update!(cooked: "<FD>" * Nokogiri::Gumbo::DEFAULT_MAX_TREE_DEPTH)
|
||||
|
||||
SearchIndexer.update_posts_index(
|
||||
post_id: post.id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user