tutuca 0.9.88 → 0.9.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1979,7 +1979,7 @@ class ANode extends BaseNode {
1979
1979
  const isPseudoX = attrs[0]?.name === "@x";
1980
1980
  if (tag === "X" || isPseudoX)
1981
1981
  return parseXOp(attrs, childs, isPseudoX ? 1 : 0, px);
1982
- else if (tag.charCodeAt(1) === 58 && tag.charCodeAt(0) === 88) {
1982
+ else if (tag.charCodeAt(1) === 58 && (tag.charCodeAt(0) === 88 || tag.charCodeAt(0) === 120)) {
1983
1983
  const macroName = tag.slice(2).toLowerCase();
1984
1984
  if (macroName === "slot") {
1985
1985
  const slotName = attrs.getNamedItem("name")?.value ?? "_";
package/dist/tutuca.js CHANGED
@@ -6349,7 +6349,7 @@ class ANode extends BaseNode {
6349
6349
  const isPseudoX = attrs[0]?.name === "@x";
6350
6350
  if (tag === "X" || isPseudoX)
6351
6351
  return parseXOp(attrs, childs, isPseudoX ? 1 : 0, px);
6352
- else if (tag.charCodeAt(1) === 58 && tag.charCodeAt(0) === 88) {
6352
+ else if (tag.charCodeAt(1) === 58 && (tag.charCodeAt(0) === 88 || tag.charCodeAt(0) === 120)) {
6353
6353
  const macroName = tag.slice(2).toLowerCase();
6354
6354
  if (macroName === "slot") {
6355
6355
  const slotName = attrs.getNamedItem("name")?.value ?? "_";