@bimatrix-aud-platform/aud_mcp_server 1.1.67 → 1.1.68
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,16 @@ 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
|
+
}
|
|
158
168
|
return result;
|
|
159
169
|
}
|
|
160
170
|
// ============================================
|