@pie-element/math-templated 3.6.7-next.8 → 3.6.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/CHANGELOG.md +16 -0
- package/configure/CHANGELOG.md +14 -0
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +15 -0
- package/controller/lib/index.js +1 -1
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +2 -2
- package/lib/main.js +5 -2
- package/lib/main.js.map +1 -1
- package/module/configure.js +27 -25
- package/module/controller.js +1 -1
- package/module/element.js +38327 -38245
- package/module/manifest.json +2 -2
- package/module/print.js +38327 -38245
- package/package.json +3 -3
package/module/controller.js
CHANGED
|
@@ -22822,7 +22822,7 @@ var _controllerUtils = controllerUtils;
|
|
|
22822
22822
|
const { translator } = Translator;
|
|
22823
22823
|
|
|
22824
22824
|
const getFeedback = value => value ? 'correct' : 'incorrect';
|
|
22825
|
-
const getContent = (html) => (html || '').replace(/(<(?!img|iframe)([^>]+)>)/gi, '');
|
|
22825
|
+
const getContent = (html) => (html || '').replace(/(<(?!img|iframe|source)([^>]+)>)/gi, '');
|
|
22826
22826
|
|
|
22827
22827
|
const getIsAnswerCorrect = (correctResponse, answerItem) => {
|
|
22828
22828
|
let answerCorrect = false;
|