@bimatrix-aud-platform/aud_mcp_server 1.1.67 → 1.1.70

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.
@@ -155,6 +155,20 @@ export function compactElement(element) {
155
155
  continue;
156
156
  result[key] = value;
157
157
  }
158
+ // AddIn ComponentElement: HTML/CSS → string[] 변환 (가독성 향상)
159
+ if (type === "AddIn" && result.ComponentElement) {
160
+ const ce = result.ComponentElement;
161
+ if (ce.HTML && typeof ce.HTML === "string" && ce.HTML.includes("\n")) {
162
+ ce.HTML = ce.HTML.split("\n");
163
+ }
164
+ if (ce.CSS && typeof ce.CSS === "string" && ce.CSS.includes("\n")) {
165
+ ce.CSS = ce.CSS.split("\n");
166
+ }
167
+ }
168
+ // RichTextBox Value: 긴 문자열 → string[] 변환 (가독성 향상)
169
+ if (type === "RichTextBox" && result.Value && typeof result.Value === "string" && result.Value.includes("\n")) {
170
+ result.Value = result.Value.split("\n");
171
+ }
158
172
  return result;
159
173
  }
160
174
  // ============================================