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 3ae0bc0 commit 77be124Copy full SHA for 77be124
src/platforms/web/compiler/modules/class.js
@@ -23,7 +23,7 @@ function transformNode (el: ASTElement, options: CompilerOptions) {
23
}
24
25
if (staticClass) {
26
- el.staticClass = JSON.stringify(staticClass.replace(/\s+/gi, " ").trim())
+ el.staticClass = JSON.stringify(staticClass.replace(/\s+/g, " ").trim())
27
28
const classBinding = getBindingAttr(el, 'class', false /* getStatic */)
29
if (classBinding) {
0 commit comments