From b0b417cefcc91b2c14f48d4b0b41008d1e12754c Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Thu, 5 Oct 2017 09:59:57 +0800 Subject: [PATCH] Fix unescape > symbol inside the style tags to make the CSS works --- public/js/extra.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/js/extra.js b/public/js/extra.js index bf38813..b23d732 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -552,6 +552,10 @@ export function finishView (view) { } catch (err) { console.warn(err) } + // unescape > symbel inside the style tags + view.find('style').each((key, value) => { + $(value).html($(value).html().replace(/>/g, '>')) + }) // render title document.title = renderTitle(view) }