mirror of https://github.com/vuejs/core.git
Merge 515cc44084
into 56be3dd4db
This commit is contained in:
commit
7107cc25fc
|
@ -48,7 +48,7 @@ export function escapeHtml(string: unknown): string {
|
|||
const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g
|
||||
|
||||
export function escapeHtmlComment(src: string): string {
|
||||
return src.replace(commentStripRE, '')
|
||||
return src.toString().replace(commentStripRE, '')
|
||||
}
|
||||
|
||||
export const cssVarNameEscapeSymbolsRE: RegExp =
|
||||
|
|
Loading…
Reference in New Issue