@itrocks/template 0.0.34 → 0.0.35

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/cjs/template.js CHANGED
@@ -725,9 +725,7 @@ class Template {
725
725
  if (targetTagIndex > -1) {
726
726
  this.sourceToTarget();
727
727
  const headLink = this.target.substring(targetTagIndex);
728
- if (!this.doneLinks.includes(headLink)) {
729
- this.headLinks.insert(headLink);
730
- }
728
+ this.headLinks.insert(headLink);
731
729
  }
732
730
  if (inScript) {
733
731
  continue;
package/esm/template.js CHANGED
@@ -722,9 +722,7 @@ export class Template {
722
722
  if (targetTagIndex > -1) {
723
723
  this.sourceToTarget();
724
724
  const headLink = this.target.substring(targetTagIndex);
725
- if (!this.doneLinks.includes(headLink)) {
726
- this.headLinks.insert(headLink);
727
- }
725
+ this.headLinks.insert(headLink);
728
726
  }
729
727
  if (inScript) {
730
728
  continue;
package/package.json CHANGED
@@ -69,5 +69,5 @@
69
69
  "test": "jest"
70
70
  },
71
71
  "types": "./esm/template.d.ts",
72
- "version": "0.0.34"
72
+ "version": "0.0.35"
73
73
  }