Skip to content

Commit

Permalink
fix: set default language for Prism to text (tailscale-dev#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovyerus authored Aug 4, 2024
1 parent 157906b commit 3de85c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tclipd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ WHERE p.id = ?1`

var rawHTML *template.HTML

var cssClass string
cssClass := "language-text"
if lang != "" {
cssClass = fmt.Sprintf("lang-%s", strings.ToLower(lang))
}
Expand Down

0 comments on commit 3de85c3

Please sign in to comment.