buildkite / terminal-to-html

Converts arbitrary shell output (with ANSI) into beautifully rendered HTML
http://buildkite.github.io/terminal-to-html
MIT License
642 stars 45 forks source link

Add meta charset to preview template #72

Closed imlonghao closed 4 years ago

imlonghao commented 4 years ago

Hello,

I noticed that the preview template is missing a meta tag to define the page encoding.

Without this, the browser can't process the page in the correct encoding.

By adding the line <meta charset="UTF-8"> to the HTML head section, it can tell the browser this page is using UTF-8 the encoding so browser can't mess it up.

Regards, imlonghao