1
0
Fork 0
forked from 0x2620/oxjs

highlight html strings without breaking tags

This commit is contained in:
j 2012-01-31 12:00:34 +00:00
commit 9568acd592
2 changed files with 28 additions and 2 deletions

View file

@ -177,7 +177,7 @@ Ox.Editable = function(options, self) {
value = self.options.format(self.options.value)
}
if (self.options.highlight) {
value = Ox.highlight(value, self.options.highlight, 'OxHighlight');
value = Ox.highlightHTML(value, self.options.highlight, 'OxHighlight');
}
return value;
}