@solidpepper/solidpepper-solidgeneration 0.1.3 → 0.1.4
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.
|
@@ -3261,6 +3261,7 @@ class DataSheetSVG {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
// HTML formatting to SVG
|
|
3263
3263
|
if (newVal != null) {
|
|
3264
|
+
newVal = String(newVal);
|
|
3264
3265
|
newVal = newVal.replace(/<li[^>]*>/gi, '• ');
|
|
3265
3266
|
newVal = newVal.replace(/<\/li>\s*/gi, '</li>');
|
|
3266
3267
|
newVal = newVal.replace(/<\/li>/gi, '<br />');
|