Commit f336ebe
Maciej Rapacz
fix: prepend charset meta tag to HTML in save()
Headless browsers (like Chrome) can misidentify the encoding of an HTML
fragment and corrupt Unicode characters. Prepending <meta charset='utf-8'>
ensures that the characters are rendered correctly in the resulting image
file.1 parent 967be02 commit f336ebe
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
| 453 | + | |
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
| |||
0 commit comments