parent
49386b42da
commit
e8cfb4f2be
2 changed files with 1 additions and 2 deletions
|
@ -111,7 +111,7 @@ function highlightWithin(parent) {
|
|||
function highlightElem(elem) {
|
||||
const innerCodeElem = elem.querySelector('code[class^=language-]');
|
||||
elem.innerHTML = elem.innerHTML.replace(/<br\s*[\/]?>/gi ,'\n');
|
||||
const content = elem.textContent;
|
||||
const content = elem.textContent.trimEnd();
|
||||
|
||||
let mode = '';
|
||||
if (innerCodeElem !== null) {
|
||||
|
|
|
@ -238,7 +238,6 @@ code {
|
|||
padding: 1px 3px;
|
||||
white-space:pre-wrap;
|
||||
line-height: 1.2em;
|
||||
margin-bottom: 1.2em;
|
||||
}
|
||||
|
||||
span.code {
|
||||
|
|
Loading…
Reference in a new issue