We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68bfc79 commit 4f90422Copy full SHA for 4f90422
src/components/section.rs
@@ -38,9 +38,7 @@ pub fn Section(
38
}
39
40
p { class: "group-description",
41
- if let Some(desc) = description {
42
- {desc}
43
- }
+ dangerous_inner_html: description
44
45
{children}
46
src/routes/crate_list.rs
@@ -185,7 +185,7 @@ fn CrateListItem(krate: Crate) -> Element {
185
<p style="margin: 3px 6px;max-width: 600px">
186
<CrateLink href={main_href} label={krate.name} /> {doc_link}
187
<br />
188
- {krate.notes}
+ <span dangerous_inner_html={krate.notes} />
189
</p>
190
)
191
0 commit comments