Use UTF-8 instead of ASCII

This commit is contained in:
Danila Fedorin 2020-12-31 02:29:29 +00:00
parent 3a829d6da5
commit 93493fd2e9
1 changed files with 1 additions and 1 deletions

View File

@ -32,5 +32,5 @@ files.each do |file|
document.search('//*[not(ancestor-or-self::code)]/text()').each do |t|
t.replace(perform_katex_sub(inline_cache, display_cache, t.content))
end
File.write(file, document.to_html(encoding: 'US-ASCII'))
File.write(file, document.to_html(encoding: 'UTF-8'))
end