diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-01-10 23:37:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-10 23:37:18 -0700 |
| commit | 899a8bddb48511adde9220bdc2e421cb8ce4e3b2 (patch) | |
| tree | 9beea6574a714a52c0c941e6ce0a07e7b9b003d8 /test | |
| parent | c83bf6ae8524badf676047cf5d0eacc931b91a01 (diff) | |
resolves #2966 run docinfo processors regardless of safe mode (PR #3008)
Diffstat (limited to 'test')
| -rw-r--r-- | test/extensions_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/extensions_test.rb b/test/extensions_test.rb index b3189569..63fb4cd2 100644 --- a/test/extensions_test.rb +++ b/test/extensions_test.rb @@ -1427,7 +1427,8 @@ sample content docinfo_processor MetaRobotsDocinfoProcessor end - doc = document_from_string input, safe: :server + doc = document_from_string input + assert_equal Asciidoctor::SafeMode::SECURE, doc.safe assert_equal '<meta name="robots" content="index,follow">', doc.docinfo ensure Asciidoctor::Extensions.unregister_all |
