Following code of counter is handled incorrectly and counter is now displayed on the page after drupal.
Drupal modifies the string
"alt='1Gb.ua counter'><\/a>")
to
"alt='1Gb.ua counter' /><\/a>")
The full code of counter follows:
cgb_js="1.0"; cgb_r=""+Math.random()+"&r="+ escape(document.referrer)+"&pg="+ escape(window.location.href); document.cookie="rqbct=1; path=/"; cgb_r+="&c="+ (document.cookie?"Y":"N"); cgb_js="1.1";cgb_r+="&j="+ (navigator.javaEnabled()?"Y":"N") cgb_js="1.2"; cgb_r+="&wh="+screen.width+ 'x'+screen.height+"&px="+ (((navigator.appName.substring(0,3)=="Mic"))? screen.colorDepth:screen.pixelDepth) cgb_js="1.3"cgb_r+="&js="+cgb_js; document.write(""+ "
border=0 width="88" height="31" alt="1Gb.ua counter">
The reason for this "
This is somewhat because of the code in file filter.module, line 777: $text = preg_replace('!<([^a-zA-Z/])!', '<\1', $text); I don't know how this can be fixed in simple way
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | bug_Description.txt | 1.45 KB | sergtk |
Comments
Comment #1
sergtk commentedHmm.... All my text is escaped. I attached file with description.
Comment #2
sergtk commentedThis is connected with line 777 in file filter.module
Comment #3
sergtk commentedComment #4
damien tournoud commentedConfirmed that it works as it should on 7.x.