Skip to content

Commit

Permalink
Fixes an error that occurred during build
Browse files Browse the repository at this point in the history
"Error: The following pages contain links to /#1", but no element with id="1"" exists on /"

https://github.com/iptv-org/iptv-org.github.io/actions/runs/11647905284/job/32433702477
  • Loading branch information
freearhey committed Nov 4, 2024
1 parent 9169976 commit faaf89a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/HTMLPreview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
].filter(f => (Array.isArray(f.value) ? f.value.length : f.value))
function norm(value) {
return value.includes(' ') ? `"${value}"` : value
value = value.includes(' ') ? `"${value}"` : value
return encodeURIComponent(value)
}
</script>

Expand Down Expand Up @@ -144,7 +146,7 @@
stroke-linejoin="round"
stroke-width="2"
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
></path>
/>
</svg>
</span></a
>
Expand Down

0 comments on commit faaf89a

Please sign in to comment.