fix: CSS class names for branches and commits

This commit is contained in:
Lars Wirzenius
2026-08-26 10:57:38 +03:00
parent ffdaa64b7c
commit 8aa84b14ca
+2 -6
View File
@@ -545,15 +545,11 @@ impl PageData {
who: _,
} => Element::new(Tag::Span)
.with_text("branch ")
.with_child(
Element::new(Tag::Code)
.with_class("branch)")
.with_text(name),
)
.with_child(Element::new(Tag::Code).with_class("branch").with_text(name))
.with_text(", commit ")
.with_child(
Element::new(Tag::Code)
.with_class("commit)")
.with_class("commit")
.with_text(commit.to_string()),
)
.with_child(Element::new(Tag::Br))