mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixe invalid character in Google Fonts URL (#1366)
Escape `|` in the Google Fonts URL.
This commit is contained in:
parent
210139c0d3
commit
54bd366a71
@ -143,7 +143,7 @@
|
|||||||
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin />
|
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin />
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="https://fonts.googleapis.com/css?family={{
|
href="https://fonts.googleapis.com/css?family={{
|
||||||
font.text | replace(' ', '+') + ':300,400,400i,700|' +
|
font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
|
||||||
font.code | replace(' ', '+')
|
font.code | replace(' ', '+')
|
||||||
}}&display=fallback" />
|
}}&display=fallback" />
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
Reference in New Issue
Block a user