Skip to content

Commit

Permalink
Merge branch 'release-2.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
oat-github-bot committed Jun 21, 2024
2 parents b2c6e05 + 14e9fd0 commit f1599af
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oat-sa/tao-item-runner-qti",
"version": "2.3.1",
"version": "2.3.2",
"displayName": "TAO Item Runner QTI",
"description": "TAO QTI Item Runner modules",
"files": [
Expand Down
5 changes: 4 additions & 1 deletion src/qtiItem/core/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ var Container = Element.extend({
//@todo : container rendering merging, to be tested
tpl = tpl.replace(elt.placeholder(), elt.render(renderer));
} else {
tpl = tpl.replace(elt.placeholder(), '{{{' + serial + '}}}');
tpl = tpl
.replace(elt.placeholder(), serial)
.replace(new RegExp(`{${serial}`), `{${serial}`)
.replace(serial, '{{{' + serial + '}}}');
elementsData[serial] = elt.render(renderer);
}
} else {
Expand Down

0 comments on commit f1599af

Please sign in to comment.