Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 2c3abab

Browse files
author
mikesamuel
committed
fix
1 parent 44a6f66 commit 2c3abab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/prettify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ function prettyPrint() {
13191319
// from http://stud3.tuwien.ac.at/~e0226430/innerHtmlQuirk.html
13201320
if ('insertAdjacentHTML' in cs) {
13211321
cs.innerHTML = '';
1322-
cs.insertAdjacentHTML(newContent);
1322+
cs.insertAdjacentHTML('afterBegin', newContent);
13231323
} else {
13241324
cs.innerHTML = newContent;
13251325
}

0 commit comments

Comments
 (0)