Skip to content

Commit 3de85c3

Browse files
authored
fix: set default language for Prism to text (#62)
1 parent 157906b commit 3de85c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/tclipd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ WHERE p.id = ?1`
532532

533533
var rawHTML *template.HTML
534534

535-
var cssClass string
535+
cssClass := "language-text"
536536
if lang != "" {
537537
cssClass = fmt.Sprintf("lang-%s", strings.ToLower(lang))
538538
}

0 commit comments

Comments
 (0)