How do I post an embed code without it embedding?
If I want to post it just as text?
I tried the code tag but it doesn't seem to work.
I tried the code tag but it doesn't seem to work.
Not yet a member? No problem!
Sign-up just takes a second.
Forgot your password?
Recover it now.
Already signed up?
Log in now.
Forgot your password?
Recover it now.
Not yet a member? No problem!
Sign-up just takes a second.
Remember your password?
Log in now.
3 Comments
Copy embed code into notepad
ctrl+h (find and replace)
find < and replace with &'lt; (remove apostrophe), replace all
find > and replace with &'gt; (remove apostrophe), replace all
Basically, you're putting in the character codes for the two. That'll take care of most of the display problems.
Thank you very much !!
What you're doing is changing the < and > to < >, because html uses < and > directly in the code. It's called "escaping" your code.
It's the same reason you have to escape & to &. Because the & sign is actually used html.
Discuss...
Enable JavaScript to submit a comment.