Use a cite element for blockquote citations

This commit is contained in:
Juno Takano 2026-02-09 21:42:51 -03:00
commit 4187299e04
2 changed files with 2 additions and 1 deletions

View file

@ -39,7 +39,7 @@ impl Parseable for Quote {
let content = if let Some(citation) = &self.citation {
format!(
r#"{}<br/><p class="quote-citation">{citation}</p>"#,
r#"{}<br/><cite class="quote-citation">{citation}</cite>"#,
&self.text
)
} else {

View file

@ -344,6 +344,7 @@ p.verse {
}
.quote-citation {
display: block;
margin: 0.5em 0 0 0;
text-indent: -1.2em;
padding-left: 1em;