Closed
Description
Kramdown::Parser::Base#adapt_source
modifies the encoding of the input string in-place (source). I don’t believe it should; input arguments should not be touched.
Possible fix: replace
source.encode!('UTF-8')
with
source = source.encode('UTF-8')
(Related nanoc issues: nanoc/nanoc#276, nanoc/nanoc#277)
Metadata
Metadata
Assignees
Labels
No labels