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:
parent
338cffd8c7
commit
322c37d693
@ -60,7 +60,7 @@ var listTypes = {
|
|||||||
"#": {listTag: "ol", itemTag: "li"},
|
"#": {listTag: "ol", itemTag: "li"},
|
||||||
";": {listTag: "dl", itemTag: "dt"},
|
";": {listTag: "dl", itemTag: "dt"},
|
||||||
":": {listTag: "dl", itemTag: "dd"},
|
":": {listTag: "dl", itemTag: "dd"},
|
||||||
">": {listTag: "blockquote", itemTag: "p"}
|
">": {listTag: "blockquote", itemTag: "div"}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -130,6 +130,11 @@ blockquote {
|
|||||||
quotes: "\201C""\201D""\2018""\2019";
|
quotes: "\201C""\201D""\2018""\2019";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote > div {
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
blockquote.tc-big-quote {
|
blockquote.tc-big-quote {
|
||||||
font-family: Georgia, serif;
|
font-family: Georgia, serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
Reference in New Issue
Block a user