Fixe invalid character in Google Fonts URL (#1366)

Escape `|` in the Google Fonts URL.
This commit is contained in:
XhmikosR 2019-12-04 21:23:14 +02:00 committed by Martin Donath
parent 210139c0d3
commit 54bd366a71

View File

@ -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>