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.
- package/cli/release.js +3 -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, '&')
|
|
358
358
|
.replace(/</g, '<')
|
|
359
359
|
.replace(/>/g, '>')
|
|
360
|
-
.replace(/"/g, '"')
|
|
360
|
+
.replace(/"/g, '"')
|
|
361
|
+
.replace(/`([^`]+)`/g, '<code>$1</code>');
|
|
361
362
|
}
|
|
362
363
|
|
|
363
364
|
/**
|