1
0
Fork 0
forked from 0x2620/oxjs

make video editor handle internal links (fixes #494)

This commit is contained in:
rlx 2012-02-17 16:13:08 +00:00
commit e8f370ab7c
5 changed files with 38 additions and 36 deletions

View file

@ -74,6 +74,8 @@ Ox.highlightHTML <f> Highlight matches in an HTML string
'<span class="h">AT&amp;T</span>'
> Ox.highlightHTML('AT&amp;T', 'amp', 'h')
'AT&amp;T'
> Ox.highlightHTML('a &lt;b&gt; c', '<b>', 'h')
'<span class="h">a <span class="h">&lt;b&gt;</span> c'
@*/
Ox.highlightHTML = function(html, str, classname, tags) {
var count = 0,