Lines Matching refs:tag
290 var tag=tag_enc;
293 while((cur=x.indexOf("<" + tag,pos))!=-1) {
295 alert("unable to close to open tag"); return(false);
297 if((closetag=x.indexOf("</" + tag + ">",opentag_end))==-1) {
298 alert("unable to find close of " + tag + " tag"); return(false);
300 if(!(ctext=decryptBlock(x.substring(cur,closetag+tag.length+3),false))) {
304 pos=closetag+tag.length+3;
311 var tag=tag_pt;
314 while((cur=x.indexOf("<" + tag,pos))!=-1) {
316 alert("unable to close to open tag"); return(false);
318 if((closetag=x.indexOf("</" + tag + ">",opentag_end))==-1) {
319 x=x+"</" + tag + ">";
320 // if there is no close tag, add one to the end.
321 closetag=x.indexOf("</" + tag + ">",opentag_end);
322 // alert("unable to find close of " + tag + " tag"); return(false);
324 if(!(ctext=encryptBlock(x.substring(cur,closetag+tag.length+3),false))) {
329 pos=closetag+tag.length+3;