Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 957609a + 517f0d7 commit 39320bbCopy full SHA for 39320bb
src/core/render/utils.js
@@ -5,7 +5,7 @@ export function getAndRemoveConfig(str = '') {
5
str = str
6
.replace(/^'/, '')
7
.replace(/'$/, '')
8
- .replace(/(?:^|\s):([\w-]+:?)=?([\w-]+)?/g, (m, key, value) => {
+ .replace(/(?:^|\s):([\w-]+:?)=?([\w-%]+)?/g, (m, key, value) => {
9
if (key.indexOf(':') === -1) {
10
config[key] = (value && value.replace(/"/g, '')) || true;
11
return '';
0 commit comments