Skip to content

Commit

Permalink
TP2000-1030 Fix footnotes autocomplete selection (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalecannon authored Sep 26, 2023
1 parent 2b33730 commit 48c1eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/static/common/js/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const nodeListForEach = (nodes, callback) => {
}
}

const newLine = /\n/g;
const newLine = /[\n\r]/g;
const removeNewLine = (str) => str.replace(newLine, "")

const cleanResults = (results) => {
Expand Down

0 comments on commit 48c1eee

Please sign in to comment.