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.
1 parent 9e62be9 commit 517f0d7Copy full SHA for 517f0d7
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