Skip to content

Commit ac7c8c0

Browse files
committed
fix(banners): add p
1 parent bc2a857 commit ac7c8c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: crates/rari-doc/src/templ/templs/banners.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ pub fn see_compat_table() -> Result<String, DocError> {
4949
let copy = rari_l10n::l10n_json_data("Template", "see_compat_table_copy", env.locale)?;
5050

5151
Ok([
52-
r#"<div class="notecard experimental"><strong>"#,
52+
r#"<div class="notecard experimental"><p><strong>"#,
5353
title,
5454
":</strong> ",
5555
copy,
56-
"</div>",
56+
"</p></div>",
5757
]
5858
.join(""))
5959
}
@@ -64,11 +64,11 @@ pub fn secure_context_header() -> Result<String, DocError> {
6464
let copy = rari_l10n::l10n_json_data("Template", "secure_context_header_copy", env.locale)?;
6565

6666
Ok([
67-
r#"<div class="notecard secure"><strong>"#,
67+
r#"<div class="notecard secure"><p><strong>"#,
6868
&html_escape::encode_double_quoted_attribute(title),
6969
":</strong> ",
7070
copy,
71-
"</div>",
71+
"</p></div>",
7272
]
7373
.join(""))
7474
}

0 commit comments

Comments
 (0)