Lines Matching refs:pos
292 var tagend=0, opentag=0, blockend=0, pos=0;
293 while((cur=x.indexOf("<" + tag,pos))!=-1) {
303 ret+=x.substring(pos,cur) + ctext;
304 pos=closetag+tag.length+3;
306 ret+=x.substring(pos);
313 var tagend=0, opentag=0, blockend=0, pos=0;
314 while((cur=x.indexOf("<" + tag,pos))!=-1) {
328 ret+=x.substring(pos,cur) + ctext;
329 pos=closetag+tag.length+3;
331 ret+=x.substring(pos);