@superbuilders/incept-renderer 0.1.4 → 0.1.7
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.
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +1 -8
- package/dist/actions/index.js.map +1 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -8
- package/dist/index.js.map +1 -1
- package/dist/{schema-C3cRJWrK.d.ts → schema-DZoGAQdF.d.ts} +2 -2
- package/dist/styles/themes.css +346 -0
- package/dist/styles/themes.css.map +1 -0
- package/dist/styles/themes.d.ts +2 -0
- package/dist/{types-BqqQtPL8.d.ts → types-B7YRTQKt.d.ts} +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +5 -1
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as DisplayItem, F as FormShape, V as ValidateResult } from '../types-B7YRTQKt.js';
|
|
2
2
|
|
|
3
3
|
declare function buildDisplayModelFromXml(qtiXml: string): {
|
|
4
4
|
itemKey: string;
|
package/dist/actions/index.js
CHANGED
|
@@ -284,14 +284,7 @@ function serializeAttributes(attrs) {
|
|
|
284
284
|
return parts.join(" ");
|
|
285
285
|
}
|
|
286
286
|
function escapeHtml(text) {
|
|
287
|
-
|
|
288
|
-
"&": "&",
|
|
289
|
-
"<": "<",
|
|
290
|
-
">": ">",
|
|
291
|
-
'"': """,
|
|
292
|
-
"'": "'"
|
|
293
|
-
};
|
|
294
|
-
return text.replace(/[&<>"']/g, (char) => escapeMap[char] || char);
|
|
287
|
+
return text.replace(/</g, "<").replace(/>/g, ">");
|
|
295
288
|
}
|
|
296
289
|
function isMathMLElement(tagName) {
|
|
297
290
|
const mathMLTags = [
|