vForums Support > vForums :: Report a Bug :: Resolved Bugs :: > Code Tag

Code Tag - Posted By Marc (cr0w) on 15th Mar 08 at 8:37pm
Code:
 
  1. <script>
  2. var array = ["Hmm",lalala];
  3. </script>
  4.  
  5. <div id="rawr"></div>
 


The parser's adding random characters and screwing things up in code tags. {Sad}

Re: Code Tag - Posted By Ross (admin) on 15th Mar 08 at 10:05pm
Looks like a conflict between the code tags and the long line breaker. I'll see what can be done.

Re: Code Tag - Posted By Marc (cr0w) on 15th Mar 08 at 10:19pm
Alright, thanks Ross. {Smile}

Re: Code Tag - Posted By Ross (admin) on 15th Mar 08 at 10:21pm
It should now ignore any long lines when inside of a code tag {Smile}

Re: Code Tag - Posted By Marc (cr0w) on 15th Mar 08 at 10:23pm
*Tests*

Code:
 
  1. <script>
  2. var abcdefghijklmnopqrstuvwxyz = document.getElementsByTagName("abcdefghijklmnopqrstuvwxyz")[0].parentNode.parentNode.nextSibling.parentNode.parentNode.innerHTML;
  3.  
 


Yay, thanks Ross. {Smile} Smiley