hdoc-tools 0.17.13 → 0.17.14

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/hdoc-module.js +2 -1
  2. package/package.json +1 -1
package/hdoc-module.js CHANGED
@@ -132,9 +132,10 @@
132
132
  continue;
133
133
  }
134
134
 
135
- if (includesCache[link] !== undefined) {
135
+ if ((link.startsWith('http://') || link.startsWith('https://')) && includesCache[link] !== undefined) {
136
136
  console.log(`Serving From Cache: ${link}`);
137
137
  body = body.replace(include_value, includesCache[link]);
138
+ response.success++;
138
139
  continue;
139
140
  }
140
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.17.13",
3
+ "version": "0.17.14",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {