halfcab 15.0.5 → 15.0.6

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.
Files changed (2) hide show
  1. package/halfcab.mjs +2 -2
  2. package/package.json +1 -1
package/halfcab.mjs CHANGED
@@ -359,9 +359,9 @@ function emptySSRVideos (c) {
359
359
 
360
360
  function injectHTML (htmlString, options) {
361
361
  if (options && options.wrapper === false) {
362
- return html([htmlString])
362
+ return unsafeHTML(htmlString)
363
363
  }
364
- return html([`<div>${htmlString}</div>`])
364
+ return html`<div>${unsafeHTML(htmlString)}</div>`
365
365
  }
366
366
 
367
367
  function injectMarkdown (mdString, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halfcab",
3
- "version": "15.0.5",
3
+ "version": "15.0.6",
4
4
  "type": "module",
5
5
  "description": "A simple universal JavaScript framework focused on making use of es2015 template strings to build components.",
6
6
  "main": "halfcab.mjs",