mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Strip footnotes from excerpts
fixes #4572 - Remove both inline and bottom footnotes from excerpt output before stripping the remaining HTML - No more red errors, black text or bold links in codemirror, as codemirror gets confused by footnote syntax. This is a step towards the new editor which has no syntax highlighting in the editor
This commit is contained in:
parent
2b518677f2
commit
362a1e7d33
2 changed files with 16 additions and 8 deletions
|
@ -256,7 +256,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-header {
|
.cm-header {
|
||||||
color: #000;
|
color: #3c4043;
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -268,18 +268,22 @@
|
||||||
color: lighten($darkgrey, 10%);
|
color: lighten($darkgrey, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-string,
|
|
||||||
.cm-strong,
|
.cm-strong,
|
||||||
.cm-link,
|
|
||||||
.cm-comment,
|
.cm-comment,
|
||||||
.cm-quote,
|
.cm-quote,
|
||||||
.cm-number,
|
.cm-number,
|
||||||
.cm-atom,
|
.cm-atom,
|
||||||
.cm-tag {
|
.cm-tag {
|
||||||
color: #000;
|
color: #3c4043;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cm-string,
|
||||||
|
.cm-link {
|
||||||
|
color: #3c4043;
|
||||||
|
}
|
||||||
|
|
||||||
.entry-preview {
|
.entry-preview {
|
||||||
// Align the tab of entry-preview on the right
|
// Align the tab of entry-preview on the right
|
||||||
.floatingheader {
|
.floatingheader {
|
||||||
|
@ -370,6 +374,10 @@
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sup a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: $grey;
|
color: $grey;
|
||||||
|
|
|
@ -55,16 +55,16 @@
|
||||||
.cm-s-default .cm-atom {color: #219;}
|
.cm-s-default .cm-atom {color: #219;}
|
||||||
.cm-s-default .cm-number {color: #164;}
|
.cm-s-default .cm-number {color: #164;}
|
||||||
.cm-s-default .cm-def {color: #00f;}
|
.cm-s-default .cm-def {color: #00f;}
|
||||||
.cm-s-default .cm-variable {color: black;}
|
.cm-s-default .cm-variable {color: #3c4043;}
|
||||||
.cm-s-default .cm-variable-2 {color: #05a;}
|
.cm-s-default .cm-variable-2 {color: #05a;}
|
||||||
.cm-s-default .cm-variable-3 {color: #085;}
|
.cm-s-default .cm-variable-3 {color: #085;}
|
||||||
.cm-s-default .cm-property {color: black;}
|
.cm-s-default .cm-property {color: #3c4043;}
|
||||||
.cm-s-default .cm-operator {color: black;}
|
.cm-s-default .cm-operator {color: #3c4043;}
|
||||||
.cm-s-default .cm-comment {color: #a50;}
|
.cm-s-default .cm-comment {color: #a50;}
|
||||||
.cm-s-default .cm-string {color: #a11;}
|
.cm-s-default .cm-string {color: #a11;}
|
||||||
.cm-s-default .cm-string-2 {color: #f50;}
|
.cm-s-default .cm-string-2 {color: #f50;}
|
||||||
.cm-s-default .cm-meta {color: #555;}
|
.cm-s-default .cm-meta {color: #555;}
|
||||||
.cm-s-default .cm-error {color: #f00;}
|
.cm-s-default .cm-error {color: #3c4043;}
|
||||||
.cm-s-default .cm-qualifier {color: #555;}
|
.cm-s-default .cm-qualifier {color: #555;}
|
||||||
.cm-s-default .cm-builtin {color: #30a;}
|
.cm-s-default .cm-builtin {color: #30a;}
|
||||||
.cm-s-default .cm-bracket {color: #997;}
|
.cm-s-default .cm-bracket {color: #997;}
|
||||||
|
|
Loading…
Add table
Reference in a new issue