fixed background colour not extending

This commit is contained in:
Vegard Berg 2023-09-13 20:39:24 +02:00
parent 259ef3e601
commit cb9b76cc6f
1 changed files with 1 additions and 1 deletions

View File

@ -65,6 +65,6 @@ func HighlightText(text, lang, style_name string) HighlightedText {
}
return HighlightedText{
text: string(b),
text: "<style>pre { width: fit-content; }</style>\n" + string(b),
}
}