Use UTF-8 instead of ASCII
This commit is contained in:
parent
3a829d6da5
commit
93493fd2e9
|
@ -32,5 +32,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(encoding: 'US-ASCII'))
|
File.write(file, document.to_html(encoding: 'UTF-8'))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user