Fix converter encoding.
This commit is contained in:
parent
a6673549ad
commit
5f8976a294
|
@ -31,5 +31,5 @@ files.each do |file|
|
||||||
document.search('//*[not(ancestor-or-self::code)]/text()').each do |t|
|
document.search('//*[not(ancestor-or-self::code)]/text()').each do |t|
|
||||||
t.replace(perform_katex_sub(inline_cache, display_cache, t.content))
|
t.replace(perform_katex_sub(inline_cache, display_cache, t.content))
|
||||||
end
|
end
|
||||||
File.write(file, document.to_html)
|
File.write(file, document.to_html(encoding: 'US-ASCII'))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user