metanorma / obp-access

Data access on ISO OBP
1 stars 2 forks source link

Output HTML should be encoded in HTML5 and UTF-8 #5

Closed ronaldtse closed 5 months ago

ronaldtse commented 5 months ago

Right now the output looks like this:

Screenshot 2024-04-08 at 15 58 48
ocvit commented 5 months ago

https://github.com/metanorma/obp-access/pull/8 fixed this issue BTW

ronaldtse commented 5 months ago

@ocvit the page still looks like this and not using UTF-8 encoding.

Screenshot 2024-04-10 at 10 07 20
ocvit commented 5 months ago

@ronaldtse I assume we're talking about this page?

Here's how it looks like for me:

Screenshot 2024-04-10 at 07 45 59

And here is encoding of output HTML file:

File.read('index.html').encoding
# => #<Encoding:UTF-8>