pulse-js-framework 1.7.17 → 1.7.18

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/cli/release.js +3 -2
  2. package/package.json +1 -1
package/cli/release.js CHANGED
@@ -350,14 +350,15 @@ function updateDocsChangelog(newVersion, title, changes) {
350
350
  }
351
351
 
352
352
  /**
353
- * Escape HTML entities
353
+ * Escape HTML entities and convert backticks to <code> tags
354
354
  */
355
355
  function escapeHtml(str) {
356
356
  return str
357
357
  .replace(/&/g, '&amp;')
358
358
  .replace(/</g, '&lt;')
359
359
  .replace(/>/g, '&gt;')
360
- .replace(/"/g, '&quot;');
360
+ .replace(/"/g, '&quot;')
361
+ .replace(/`([^`]+)`/g, '<code>$1</code>');
361
362
  }
362
363
 
363
364
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pulse-js-framework",
3
- "version": "1.7.17",
3
+ "version": "1.7.18",
4
4
  "description": "A declarative DOM framework with CSS selector-based structure and reactive pulsations",
5
5
  "type": "module",
6
6
  "main": "index.js",