Skip to content

Commit c5d8c6f

Browse files
Update markdown.rs (#1439)
1 parent c7665a2 commit c5d8c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgml-dashboard/src/utils/markdown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl<'a> From<&str> for CodeFence<'a> {
200200
"bash"
201201
} else if options.starts_with("python") {
202202
"python"
203-
} else if options.starts_with("javascript") || options.starts_with("js") {
203+
} else if options.starts_with("javascript") || options.eq_ignore_ascii_case("js") {
204204
"javascript"
205205
} else if options.starts_with("postgresql") {
206206
"postgresql"

0 commit comments

Comments
 (0)