mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-23 06:13:38 -04:00
Fixed search replacing %20 with + in document URLs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user