Fixes an error that occurred during build

"Error: The following pages contain links to /#1", but no element with id="1"" exists on /"

3243370247
This commit is contained in:
freearhey 2024-11-04 05:42:10 +03:00
parent 9169976818
commit faaf89aa28

View file

@ -80,7 +80,9 @@
].filter(f => (Array.isArray(f.value) ? f.value.length : f.value)) ].filter(f => (Array.isArray(f.value) ? f.value.length : f.value))
function norm(value) { function norm(value) {
return value.includes(' ') ? `"${value}"` : value value = value.includes(' ') ? `"${value}"` : value
return encodeURIComponent(value)
} }
</script> </script>
@ -144,7 +146,7 @@
stroke-linejoin="round" stroke-linejoin="round"
stroke-width="2" stroke-width="2"
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
></path> />
</svg> </svg>
</span></a </span></a
> >