Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/astish.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let newRule = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
let newRule = /(?:([\x80-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
let ruleClean = /\/\*[^]*?\*\/| +/g;
let ruleNewline = /\n+/g;
let empty = ' ';
Expand Down
2 changes: 1 addition & 1 deletion src/core/hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export let hash = (compiled, sheet, global, append, keyframes) => {
// If the global flag is set, save the current stringified and compiled CSS to `cache.g`
// to allow replacing styles in <style /> instead of appending them.
// This is required for using `createGlobalStyles` with themes
let cssToReplace = global && cache.g ? cache.g : null;
let cssToReplace = global ? cache.g || null : null;
if (global) cache.g = cache[className];

// add or update
Expand Down