posting [code] tags is broken


Master-Blade

 

Posted

I am trying to put together a guide on the Mobility Modder, a guide for people with ATI based laptops to get the current ATI drivers needed to play the game.

In the process of putting together this guide, I need to construct a post that contains an IE only java "code" that will report if .net framework is installed.

I cannot even put the code in a post without an error even using VB's "code" tags.

It's really annoying me.

For example, I need to put this in code -

Code:
hippo:alert(navigator.userAgent)
Replace javascript with hippo, and you can no longer wrap in the code tags, even though the code tags should null and void any scripts/security issues.

BTW - if you replace "hippo" with "javascript" the prompt tells you if you have .net installed... That is all.

If a community rep could comment/forward I would really appreciate it.


 

Posted

Not sure how this applies to javascript, but have you tried using the [noparse] tags as well? That should allow you to type whatever you want.

Example:

[img]http://www.cityofheroes.com/images/coh_logo.png[/img]



Edit: I just tried, and the [noparse] trick doesn't appear to work either. It seems that it checks the post as text before it parses the post as code anyway, which would make the [noparse] and [code] commands not execute at the time either, which is why it still yells at you.