diff options
author | Wu Cheng-Han | 2017-10-05 09:59:57 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-10-05 09:59:57 +0800 |
commit | b0b417cefcc91b2c14f48d4b0b41008d1e12754c (patch) | |
tree | 170f9c2cf02e82ff25ede3036e9d803aa8909a54 /public/js | |
parent | 8979f215ab8b175f0dd0da770b634b8f6c94ab68 (diff) |
Fix unescape > symbol inside the style tags to make the CSS works
Diffstat (limited to '')
-rw-r--r-- | public/js/extra.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index bf388139..b23d732f 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) } |