@imranq2/fhirpatientsummary 1.0.10 → 1.0.11

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/dist/index.cjs CHANGED
@@ -564,7 +564,7 @@ var TemplateUtilities = class {
564
564
  formatQuantityValue(quantity) {
565
565
  if (!quantity) return "";
566
566
  const parts = [];
567
- if (quantity.comparator) parts.push(quantity.comparator);
567
+ if (quantity.comparator) parts.push(`${quantity.comparator}`.replace(/</g, "&lt;").replace(/>/g, "&gt;"));
568
568
  if (quantity.value !== void 0) parts.push(quantity.value.toString());
569
569
  if (quantity.unit) parts.push(quantity.unit);
570
570
  return parts.join(" ").trim();
package/dist/index.js CHANGED
@@ -536,7 +536,7 @@ var TemplateUtilities = class {
536
536
  formatQuantityValue(quantity) {
537
537
  if (!quantity) return "";
538
538
  const parts = [];
539
- if (quantity.comparator) parts.push(quantity.comparator);
539
+ if (quantity.comparator) parts.push(`${quantity.comparator}`.replace(/</g, "&lt;").replace(/>/g, "&gt;"));
540
540
  if (quantity.value !== void 0) parts.push(quantity.value.toString());
541
541
  if (quantity.unit) parts.push(quantity.unit);
542
542
  return parts.join(" ").trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imranq2/fhirpatientsummary",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "A template for creating npm packages using TypeScript and VSCode",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",