Skip to content

Commit b0b417c

Browse files
committed
Fix unescape > symbol inside the style tags to make the CSS works
1 parent 8979f21 commit b0b417c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

public/js/extra.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,10 @@ export function finishView (view) {
552552
} catch (err) {
553553
console.warn(err)
554554
}
555+
// unescape > symbel inside the style tags
556+
view.find('style').each((key, value) => {
557+
$(value).html($(value).html().replace(/>/g, '>'))
558+
})
555559
// render title
556560
document.title = renderTitle(view)
557561
}

0 commit comments

Comments
 (0)