We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160f556 commit 5fee808Copy full SHA for 5fee808
1 file changed
src/extensions/default/Phoenix/newly-added-features.js
@@ -81,8 +81,8 @@ define(function (require, exports, module) {
81
82
async function _showNewUpdatesIfPresent() {
83
// codemirror documents are always \n instead of \r\n line endings. so we strip here too
84
- let newMarkdownText = (await _getUpdateMarkdownText()).replace(/[\r]/g, '');
85
- let currentMarkdownText = (await _readMarkdownTextFile()).replace(/[\r]/g, '');
+ let newMarkdownText = (await _getUpdateMarkdownText()).replace(/\r/g, '');
+ let currentMarkdownText = (await _readMarkdownTextFile()).replace(/\r/g, '');
86
if(newMarkdownText !== currentMarkdownText){
87
let markdownFile = FileSystem.getFileForPath(_getUpdateMarkdownLocalPath());
88
// if the user overwrites the markdown file, then the user edited content will be nuked here.
0 commit comments