forked from 0x2620/oxjs
use Ox.highlight; minor reformatting
This commit is contained in:
parent
90147a69fb
commit
4ba06fde41
7 changed files with 21 additions and 15 deletions
|
|
@ -204,7 +204,9 @@ Ox.Editable = function(options, self) {
|
|||
value = self.options.format(self.options.value)
|
||||
}
|
||||
if (self.options.highlight) {
|
||||
value = Ox.highlightHTML(value, self.options.highlight, 'OxHighlight', true);
|
||||
value = Ox.highlight(
|
||||
value, self.options.highlight, 'OxHighlight', true
|
||||
);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue