diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-05-21 23:22:38 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-05-21 23:22:38 -0700 |
| commit | 2acdcece395a8327373b5f7ebf01c71dcd80ec24 (patch) | |
| tree | 5504526f281b8f20c4e2dcd7cac3df85b225ea16 /lib | |
| parent | 1956a189eb8426e3378ca2f95cdad1c0ff5172f5 (diff) | |
resolves #3308 honor image value for icons attribute
- image value should be equivalent to empty string
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/document.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/document.rb b/lib/asciidoctor/document.rb index 9fb50b74..fcbc22bf 100644 --- a/lib/asciidoctor/document.rb +++ b/lib/asciidoctor/document.rb @@ -1217,7 +1217,7 @@ class Document < AbstractBlock when '', 'font' else attrs['icons'] = '' - attrs['icontype'] = icons_val + attrs['icontype'] = icons_val unless icons_val == 'image' end end |
