@pie-element/math-inline 13.0.1-next.20261004181842 → 13.0.1-next.20261004202944

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -126,7 +126,7 @@ var L = class extends i.Component {
126
126
  typeof window < "u" && (b ||= (s("answerBlock", (e) => ({
127
127
  htmlString: `
128
128
  <div class="block-container block-container-generic">
129
- <div class="block-response block-response-generic" id="${e}Index">Response</div>
129
+ <div class="block-response block-response-generic" data-answer-block-index="${e}">Response</div>
130
130
  </div>`,
131
131
  text: () => "text",
132
132
  latex: () => `\\embed{answerBlock}[${e}]`
@@ -148,7 +148,7 @@ var L = class extends i.Component {
148
148
  }
149
149
  f(t, this.state.responseAreas) || this.setState({ responseAreas: t }, () => {
150
150
  this.root && Object.keys(t).length && Object.keys(t).forEach((e, t) => {
151
- let n = this.root.querySelector(`#${e}`), r = this.root.querySelector(`#${e}Index`);
151
+ let n = this.root.querySelector(`[data-answer-block="${e}"]`), r = this.root.querySelector(`[data-answer-block-index="${e}"]`);
152
152
  n && (o(n), r.textContent = `R${t + 1}`);
153
153
  });
154
154
  });