This is an open block
# frozen_string_literal: true require 'spec_helper' RSpec.describe Banzai::Filter::AsciiDocSanitizationFilter do include FilterSpecHelper it 'preserves footnotes refs' do result = filter('
This paragraph has a footnote.[1]
').to_html expect(result).to eq('This paragraph has a footnote.[1]
') end it 'preserves footnotes defs' do result = filter('A link to another location within an AsciiDoc document.
').to_html expect(result).to eq(%(A link to another location within an AsciiDoc document.
)) end it 'preserves user-content- prefixed ids on div (blocks)' do html_content = <<~HTMLThis is an open block
This is an open block