Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 32025e6

Browse files
committed
Merge pull request #4814 from zaggino/fix-for-pull-4686
Fix for already merged pull 4686.
2 parents bbd27d8 + 64c97ae commit 32025e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/search/FindReplace.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ define(function (require, exports, module) {
357357
// This text contains some formatting, so all the strings are assumed to be already escaped
358358
var summary = StringUtils.format(
359359
Strings.FIND_REPLACE_TITLE,
360-
replaceWhat.toString(),
361-
replaceWith.toString(),
360+
StringUtils.htmlEscape(replaceWhat.toString()),
361+
StringUtils.htmlEscape(replaceWith.toString()),
362362
results.length,
363363
results.length >= FIND_REPLACE_MAX ? Strings.FIND_IN_FILES_MORE_THAN : ""
364364
);

0 commit comments

Comments
 (0)