Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const SHOW_ELEMENT = 1;
const SHOW_COMMENT = 128;
const ELEMENT_NODE = 1;
const COMMENT_NODE = 8;
const MARKO_SCRIPT_REG = /\b\$MC\b|\bM\._\b|\("M"\)\("_"\)/;
const MARKO_SCRIPT_REG = /\b\$MC\b|\bM\.[_s]\b|\("M"\)\("[_s]"\)/;

export function normalize<T extends DocumentFragment | Element>(container: T) {
const idMap: Map<string, number> = new Map();
Expand Down