Skip to content

Commit 3413fa3

Browse files
committed
chore(lint): disable rule for unsafeAttrCharRE
1 parent 1e77d35 commit 3413fa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/platforms/web/server/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const isAttr = makeMap(
1818
'target,title,type,usemap,value,width,wrap'
1919
)
2020

21+
/* eslint-disable-next-line: no-control-regex */
2122
const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/
2223
export const isSSRUnsafeAttr = (name: string): boolean => {
2324
return unsafeAttrCharRE.test(name)

0 commit comments

Comments
 (0)