diff --git a/ai2html.js b/ai2html.js
index b99e3a4..09337e4 100644
--- a/ai2html.js
+++ b/ai2html.js
@@ -88,6 +88,7 @@ var defaultSettings = {
"render_text_as": "html", // Options: html, image
"render_rotated_skewed_text_as": "html", // Options: html, image
"testing_mode": false, // Render text in both bg image and HTML to test HTML text placement
+ "write_settings_block": true, //Add settings block to ai file
"show_completion_dialog_box": true,
"clickable_link": "", // Add a URL to make the entire graphic a clickable link
"last_updated_text": "",
@@ -493,7 +494,7 @@ try {
nameSpace = docSettings.namespace || nameSpace;
- if (!textBlockData.settings) {
+ if (!textBlockData.settings && docSettings.write_settings_block) {
createSettingsBlock(docSettings);
}
diff --git a/package-lock.json b/package-lock.json
index a39637e..59d5ef7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,11 @@
{
"name": "ai2html",
- "version": "0.111.0",
+ "version": "0.115.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
- "name": "ai2html",
- "version": "0.111.0",
+ "version": "0.115.1",
"license": "Apache-2.0",
"devDependencies": {
"mocha": "^10.0.0"