mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 05:57:05 +02:00
fix(mdx): fix for html multi-line comments (#9100)
This commit is contained in:
parent
cc6d9696f0
commit
ae2a09359a
4 changed files with 12 additions and 14 deletions
|
@ -163,9 +163,6 @@ module.exports = async function createConfigAsync() {
|
|||
// comments: false,
|
||||
},
|
||||
preprocessor: ({filePath, fileContent}) => {
|
||||
// TODO temporary quick fix for https://github.com/facebook/docusaurus/issues/9084
|
||||
fileContent = fileContent.replaceAll('<!--\n', '<!-- \n');
|
||||
|
||||
if (isDev) {
|
||||
// "vscode://file/${projectPath}${filePath}:${line}:${column}",
|
||||
// "webstorm://open?file=${projectPath}${filePath}&line=${line}&column=${column}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue