Skip to content

Commit

Permalink
resolves #332 avoid outputting 'true' for unsupported blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed Apr 26, 2020
1 parent 95071f5 commit 87b135d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ For a detailed view of what has changed, refer to the {uri-repo}/commits/master[
* add support for `[horizontal]` definition list (#165)
* add proper handling of `:data-uri:` document attribute (#324)
* add support for customizable document splitting into chapters via `epub-chapter-level` attribute (#327)
* avoid outputting 'true' for unsupported blocks (#332)

== 1.5.0.alpha.15 (2020-03-11) - @slonopotamus

Expand Down
3 changes: 2 additions & 1 deletion lib/asciidoctor-epub3/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def convert node, name = nil, _opts = {}
if respond_to? method_name
send method_name, node
else
logger.warn %(conversion missing in backend #{@backend} for #{name})
logger.warn %(#{::File.basename node.attr('docfile')}: conversion missing in backend #{@backend} for #{name})
nil
end
end

Expand Down

0 comments on commit 87b135d

Please sign in to comment.