PDA

View Full Version : Help with NOT parsing HTML...


Deaths
03-03-2005, 07:47 AM
Hello there,

I'm creating an HTML manual for my new hack, but I've ran into a problem.
The user needs to look for this code:
{
construct_nav_option($vbphrase['admin_help_manager'], 'help.php?do=manage&script=NOSCRIPT');
}
construct_nav_group($vbphrase['vbulletin_options'], '<hr />');
}
if ($printhr == true)
{
construct_nav_spacer();
}

So, I use this code to display it in my manual:

<fieldset><legend><b>Find:</b></legend>
<div class="alt2" style="margin:0px; padding:6px; border:1px inset; width:640px; height:35px; overflow:auto"><pre>if ($debug == 1)
{
construct_nav_option($vbphrase['admin_help_manager'], 'help.php?do=manage&script=NOSCRIPT');
}
construct_nav_group($vbphrase['vbulletin_options'], '<hr />');
}
if ($printhr == true)
{
construct_nav_spacer();
}</pre></div>
</fieldset><br />

However, HTML wants to be a b*tch, and parses the <hr />...
How can I make it not parse that <hr /> code?
Help would be appreciated...

FIXED, NEVERMIND