@hyperspan/framework 1.0.8 → 1.0.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperspan/framework",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Hyperspan Web Framework",
5
5
  "main": "src/server.ts",
6
6
  "types": "src/server.ts",
@@ -91,7 +91,7 @@ function formSubmitToRoute(e: Event, form: HTMLFormElement, opts: TFormSubmitOpt
91
91
 
92
92
  const target = content.includes('<html') ? window.document.body : hsActionTag || form;
93
93
 
94
- Idiomorph.morph(target, content);
94
+ Idiomorph.morph(target, content, { morphStyle: 'innerHTML' });
95
95
  opts.afterResponse && opts.afterResponse();
96
96
  lazyLoadScripts();
97
97
  });