Skip to content

Commit 2c5c506

Browse files
committed
Fixed bug with wrong highlight position for text with escaped characters
1 parent 9ee91af commit 2c5c506

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery.highlighttextarea.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* Refresh highlight
6666
*/
6767
Highlighter.prototype.highlight = function() {
68-
var text = Utilities.htmlEntities(this.$el.val()),
68+
var text = this.$el.val(),
6969
that = this;
7070
that.spacer = '';
7171
if (this.settings.wordsOnly ) {

jquery.highlighttextarea.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)