forked from 0x2620/oxjs
make video editor handle internal links (fixes #494)
This commit is contained in:
parent
c36a3537c0
commit
e8f370ab7c
5 changed files with 38 additions and 36 deletions
|
|
@ -74,6 +74,8 @@ Ox.highlightHTML <f> Highlight matches in an HTML string
|
|||
'<span class="h">AT&T</span>'
|
||||
> Ox.highlightHTML('AT&T', 'amp', 'h')
|
||||
'AT&T'
|
||||
> Ox.highlightHTML('a <b> c', '<b>', 'h')
|
||||
'<span class="h">a <span class="h"><b></span> c'
|
||||
@*/
|
||||
Ox.highlightHTML = function(html, str, classname, tags) {
|
||||
var count = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue