提交 70656750 编写于 作者: R Raymond Zhao 提交者: GitHub

Fix #109177

上级 77154ae5
......@@ -138,6 +138,7 @@ function doWrapping(individualLines: boolean, args: any) {
newText = newText.replace(/\$\{[\d]*(:[^}]*)?\}/g, (match) => { // Replacing Placeholders
return match.replace(/^\$\{[\d]*:/, '').replace('}', '');
});
newText = newText.replace(/\\\$/g, '$'); // Remove backslashes before $
builder.replace(oldPreviewRange, newText);
const expandedTextLines = newText.split('\n');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册