Page 1 of 1

how to send HTML samples via PM

PostPosted: Fri Sep 17, 2010 3:25 am
by snowcave
is this a dumb question?

I try to send sample HTML to someone via PM and the HTML gets interpreted.
I try putting it inside <pre>...</pre> and it still gets interpretted.

is there a way?
thanks

PostPosted: Fri Sep 17, 2010 3:42 am
by MoapaPk
S/he can just "respond" to the message, then paste the text into a file, OR...

you can use curly brackets {} in place of <>, and tell him/her to do a global search and replace.

PostPosted: Fri Sep 17, 2010 4:03 am
by snowcave
ok - just to document my question better

I tried putting my HTML inside PRE tags in the PM but that didn't work either.
It doesn't work in this post either and I notice that people use similar tricks
to post HTML in a forum like not spelling out the whole tag name.

PostPosted: Fri Sep 17, 2010 6:10 am
by mrchad9
What if you put the HTML inside this?

Code: Select all
[code]  sample  [/code]


That's how to see it in a post here.

PostPosted: Fri Sep 17, 2010 4:48 pm
by nartreb
You can use the standard HTMLcharacter escapes

Code: Select all
&lt;a href="target"&gt; link anchor text &lt;/a&gt;


becomes
Code: Select all
<a href="target"> link anchor text </a>



complete list