dont remove space before match

This commit is contained in:
j 2012-03-09 23:27:23 +01:00
parent e356e36634
commit dbbba54c82

View file

@ -176,7 +176,7 @@ Ox.IconItem = function(options, self) {
}
}).join(' <br/>'),
self.options.find, 'OxHighlight', ['br']
).replace(/ (<.*?>)?<br\/>/g, '$1<br\/>');
).replace(/ (<.*?>)?<br\/>/g, ' $1<br\/>');
}
function load() {