AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
fix(svg-editor): strip javascript: protocol from links in sanitizer
WodenJayf5960164b168
diff --git a/skills/ppt-master/scripts/svg_editor/static/app.js b/skills/ppt-master/scripts/svg_editor/static/app.jsindex be663056..dc2516e1 100644--- a/skills/ppt-master/scripts/svg_editor/static/app.js+++ b/skills/ppt-master/scripts/svg_editor/static/app.js@@ -585,6 +585,11 @@doc.querySelectorAll("*").forEach(function (el) {Array.from(el.attributes).forEach(function (attr) {if (attr.name.indexOf("on") === 0) el.removeAttribute(attr.name);+ // Strip javascript: protocol from href/xlink:href+ if ((attr.name === "href" || attr.name === "xlink:href") &&+ /^\s*javascript\s*:/i.test(attr.value)) {+ el.removeAttribute(attr.name);+ }});});return new XMLSerializer().serializeToString(doc.documentElement);