Use a cite element for blockquote citations
This commit is contained in:
parent
6f8567e5ba
commit
4187299e04
2 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ impl Parseable for Quote {
|
||||||
|
|
||||||
let content = if let Some(citation) = &self.citation {
|
let content = if let Some(citation) = &self.citation {
|
||||||
format!(
|
format!(
|
||||||
r#"{}<br/><p class="quote-citation">{citation}</p>"#,
|
r#"{}<br/><cite class="quote-citation">{citation}</cite>"#,
|
||||||
&self.text
|
&self.text
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -344,6 +344,7 @@ p.verse {
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote-citation {
|
.quote-citation {
|
||||||
|
display: block;
|
||||||
margin: 0.5em 0 0 0;
|
margin: 0.5em 0 0 0;
|
||||||
text-indent: -1.2em;
|
text-indent: -1.2em;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue