ID:150452
 
does anyone know?
Look up html_encode()

this will disable html in a certain area
like

<font size=10>Text Here</font>
In response to Nadrew
Thanks yet again man
In response to Nadrew
Here is a example:

mob/verb/Say(T as text)
view()<<"<font color=yellow>[usr.name]: <font color=blue>[html_encode(T)]"

So if <font size=10>HI! was to be entered
instead oof showing
<font size=10>HI!</font>
it would show
<font size=10>HI!
In response to Nadrew
How do you not show the HTML?

I always have to put font like this to keep it form actually changing the font:

font size=15555<

How do you undo the HTML?
In response to Lord of Water
Lord of Water wrote:
How do you not show the HTML?

I always have to put font like this to keep it form actually changing the font:

font size=15555<

How do you undo the HTML?

Use the HTML keywords &gt; and &lt; to display greater-than and less-than symbols instead of actual angle-brackets.

For example,

&lt;FONT SIZE=20&gt;

Turns out to be

<FONT SIZE=20>

Or, use the forum's own special <DM> tag to make all text completely literal and monospaced in a given paragraph.
In response to Nadrew
Nadrew wrote:
Here is a example:

mob/verb/Say(T as text)
view()<<"<font color=yellow>[usr.name]: <font color=blue>[html_encode(T)]"

Geez, man.

Always, always, always include a closing tag. BYOND is nice enough to do it for you, but it's a very bad habit to get used to.
In response to Spuzzum
Spuzzum wrote:
Nadrew wrote:
Here is a example:

mob/verb/Say(T as text)
view()<<"<font color=yellow>[usr.name]: <font color=blue>[html_encode(T)]"

Geez, man.

Always, always, always include a closing tag. BYOND is nice enough to do it for you, but it's a very bad habit to get used to.

I was in a hurry I always use it otherwise.