@simple-reporting/base 1.0.5 → 1.0.6

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/dev/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "postinstall": "srl prepare"
20
20
  },
21
21
  "dependencies": {
22
- "@simple-reporting/base": "^1.0.5",
22
+ "@simple-reporting/base": "^1.0.6",
23
23
  "axios": "^1.9.0",
24
24
  "chalk": "^5.4.1",
25
25
  "exceljs": "^4.4.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simple-reporting/base",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Manage srl templates, build and publish",
5
5
  "bin": {
6
6
  "srl": "cli.js"
@@ -152,7 +152,13 @@ async function mapComponents(lddJson) {
152
152
  );
153
153
  const componentHtml = readFileSync(htmlPath, { encoding: 'utf-8' });
154
154
 
155
- lddComponents.push({ ...componentDeclaration, html: componentHtml });
155
+ lddComponents.push({
156
+ ...componentDeclaration,
157
+ html: componentHtml
158
+ .replaceAll(/>\s+/g, ">")
159
+ .replaceAll(/\s+</g, "<")
160
+ .trim()
161
+ });
156
162
  }
157
163
  } catch (error) {}
158
164