We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$
1 parent 36eb751 commit e812916Copy full SHA for e812916
src/node/plugins/dynamicRoutesPlugin.ts
@@ -132,7 +132,10 @@ export const dynamicRoutesPlugin = async (
132
// we use a special injection syntax so the content is rendered as
133
// static local content instead of included as runtime data.
134
if (content) {
135
- baseContent = baseContent.replace(/<!--\s*@content\s*-->/, content)
+ baseContent = baseContent.replace(
136
+ /<!--\s*@content\s*-->/,
137
+ content.replace(/\$/g, '$$$')
138
+ )
139
}
140
141
// params are injected with special markers and extracted as part of
0 commit comments