Fixed search replacing %20 with + in document URLs

This commit is contained in:
squidfunk
2020-10-01 09:28:16 +02:00
parent 4277a58f92
commit bf9f9bf16e
7 changed files with 7 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ function renderSearchDocument(
.slice(0, -1)
/* Render article or section, depending on flags */
const url = document.location.replace(/%20/g, "+")
const url = document.location
return (
<a href={url} class="md-search-result__link" tabIndex={-1}>
<article