mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
Fix config quickstart and download [ci skip]
This commit is contained in:
parent
3b9ecd25d8
commit
e17ea88e54
|
@ -248,7 +248,9 @@ const Quickstart = ({
|
|||
)}
|
||||
{download && (
|
||||
<a
|
||||
href={`data:application/octet-stream,${getRawContent(contentRef)}`}
|
||||
href={`data:application/octet-stream,${encodeURIComponent(
|
||||
getRawContent(contentRef)
|
||||
)}`}
|
||||
title="Download file"
|
||||
download={download}
|
||||
className={classes.iconButton}
|
||||
|
|
|
@ -90,7 +90,7 @@ export default function QuickstartTraining({ id, title, download = 'base_config.
|
|||
id="quickstart-widget"
|
||||
Container="div"
|
||||
download={download}
|
||||
rawContent={content}
|
||||
rawContent={rawContent}
|
||||
data={DATA}
|
||||
title={title}
|
||||
id={id}
|
||||
|
|
Loading…
Reference in New Issue
Block a user