fixed background colour not extending
This commit is contained in:
parent
259ef3e601
commit
cb9b76cc6f
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue