mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Prettier fix for ce338fff64
This commit is contained in:
parent
ce338fff64
commit
665b2da09f
2 changed files with 13 additions and 5 deletions
|
@ -452,7 +452,11 @@ function execute() {
|
|||
const targetFile = join(buildDir, parts[1]);
|
||||
const str = renderToStaticMarkup(
|
||||
<Site language="en" config={siteConfig}>
|
||||
<div dangerouslySetInnerHTML={{__html: fs.readFileSync(file, { encoding: "utf8" })}} />
|
||||
<div
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: fs.readFileSync(file, {encoding: 'utf8'}),
|
||||
}}
|
||||
/>
|
||||
</Site>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue