@iebh/reflib 2.5.7 → 2.5.8

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.
@@ -85,6 +85,13 @@ export function readStream(stream) {
85
85
  } else {
86
86
  ref.keywords.push(xmlUnescape(text));
87
87
  }
88
+ } else if (parentName == 'style' && gParentName == 'url') {
89
+ if (!ref.urls) ref.urls = [];
90
+ if (textAppend) {
91
+ ref.urls[ref.urls.length - 1] += xmlUnescape(text);
92
+ } else {
93
+ ref.urls.push(xmlUnescape(text));
94
+ }
88
95
  } else if (parentName == 'style') { // Text within <style/> tag
89
96
  if (textAppend || ref[gParentName]) { // Text already exists? Append (handles node-expats silly multi-text per escape character "feature")
90
97
  ref[gParentName] += xmlUnescape(text);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iebh/reflib",
3
- "version": "2.5.7",
3
+ "version": "2.5.8",
4
4
  "description": "Reference / Citation reference library utilities",
5
5
  "scripts": {
6
6
  "lint": "eslint .",