diff --git a/ai2html.js b/ai2html.js
index ac9186f..c69e2e1 100644
--- a/ai2html.js
+++ b/ai2html.js
@@ -2195,6 +2195,7 @@ function unlockObject(obj) {
if (obj && obj.typename != "Document") {
unlockObject(obj.parent);
obj.locked = false;
+ objectsToRelock.push(obj);
}
}
diff --git a/package-lock.json b/package-lock.json
index 5cfce1d..a123f63 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "ai2html",
- "version": "0.115.4",
+ "version": "0.120.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ai2html",
- "version": "0.115.4",
+ "version": "0.120.2",
"license": "Apache-2.0",
"devDependencies": {
"mocha": "^10.0.0"