@valaxyjs/utils 0.20.4 → 0.20.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valaxyjs/utils",
3
3
  "type": "module",
4
- "version": "0.20.4",
4
+ "version": "0.20.6",
5
5
  "description": "A utility library for Valaxy",
6
6
  "author": {
7
7
  "name": "Valaxy",
@@ -102,8 +102,9 @@ export function serializeHeader(h: Element): string {
102
102
  if (
103
103
  (node as Element).classList.contains('VABadge')
104
104
  || (node as Element).classList.contains('header-anchor')
105
- )
105
+ ) {
106
106
  continue
107
+ }
107
108
 
108
109
  ret += node.textContent
109
110
  }