diff options
Diffstat (limited to 'spec/converter_spec.rb')
| -rw-r--r-- | spec/converter_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/converter_spec.rb b/spec/converter_spec.rb index b6bb326..05bb0f1 100644 --- a/spec/converter_spec.rb +++ b/spec/converter_spec.rb @@ -270,6 +270,16 @@ toc::[] EOS end + it 'does not crash when sees inline pass macro `m` with an icon' do + to_epub <<~EOS += Test +:icons: font +:call-to-action: pass:m,q[icon:hand-o-right[] *Call to Action*] + +{call-to-action} + EOS + end + it 'supports video' do book, = to_epub fixture_file('video/book.adoc') chapter = book.item_by_href '_chapter.xhtml' |
