hdoc-tools 0.17.0 → 0.17.2
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/hdoc-build.js +2 -2
- package/package.json +2 -2
package/hdoc-build.js
CHANGED
@@ -548,7 +548,7 @@
|
|
548
548
|
};
|
549
549
|
|
550
550
|
const tidy_code_tags = function (markdown, file) {
|
551
|
-
const json_to_tidy = markdown.match(/```json(\s|.)*?```/g);
|
551
|
+
const json_to_tidy = markdown.match(/```json[\r\n](\s|.)*?```/g);
|
552
552
|
if (json_to_tidy && json_to_tidy.length > 0) {
|
553
553
|
for (let i = 0; i < json_to_tidy.length; i++) {
|
554
554
|
if (json_to_tidy[i] !== '') {
|
@@ -563,7 +563,7 @@
|
|
563
563
|
}
|
564
564
|
}
|
565
565
|
|
566
|
-
const xml_to_tidy = markdown.match(/```xml(\s|.)*?```/g);
|
566
|
+
const xml_to_tidy = markdown.match(/```xml[\r\n](\s|.)*?```/g);
|
567
567
|
if (xml_to_tidy && xml_to_tidy.length > 0) {
|
568
568
|
for (let i = 0; i < xml_to_tidy.length; i++) {
|
569
569
|
if (xml_to_tidy[i] !== '') {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hdoc-tools",
|
3
|
-
"version": "0.17.
|
3
|
+
"version": "0.17.2",
|
4
4
|
"description": "Hornbill HDocBook Development Support Tool",
|
5
5
|
"main": "hdoc.js",
|
6
6
|
"bin": {
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"mime-types": "^2.1.35",
|
54
54
|
"multer": "^1.4.5-lts.1",
|
55
55
|
"prompt": "^1.3.0",
|
56
|
-
"puppeteer": "^
|
56
|
+
"puppeteer": "^21.6.0",
|
57
57
|
"retry": "^0.13.1",
|
58
58
|
"stream": "0.0.2",
|
59
59
|
"true-case-path": "^2.2.1",
|