1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Let chained > blockquotes generate valid HTML (#4332)

* Replace "p" with "div" in itemTag

'>> text' will now be valid html.

* Make the new div's behave like p's
This commit is contained in:
Nils-Hero Lindemann 2020-04-07 21:39:13 +02:00 committed by GitHub
parent 338cffd8c7
commit 322c37d693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -60,7 +60,7 @@ var listTypes = {
"#": {listTag: "ol", itemTag: "li"},
";": {listTag: "dl", itemTag: "dt"},
":": {listTag: "dl", itemTag: "dd"},
">": {listTag: "blockquote", itemTag: "p"}
">": {listTag: "blockquote", itemTag: "div"}
};
/*

View File

@ -130,6 +130,11 @@ blockquote {
quotes: "\201C""\201D""\2018""\2019";
}
blockquote > div {
margin-top: 1em;
margin-bottom: 1em;
}
blockquote.tc-big-quote {
font-family: Georgia, serif;
position: relative;