Jump to content

How to have some HTML code displayed as just text?


Tprints

Recommended Posts

Is there a way to have some codes displayed as plain text on a cache page?

 

I'm trying to place a Frownie Face on my cache page but displayed as Left Bracket-Colon-Left Parenthesis-Right Bracket. In other words... I want it displayed as the code, not as the frownie face itself.

 

Is there a way to do this? Thanks.

Edited by Tprints
Link to comment

Check the "The descriptions below are in HTML" checkbox above the short description field when editing your cache. The smilies are somehow intrepreted by the site's HTML Tidy program.

 

[:)]

will look like :unsure:

Edited by 9Key
Link to comment

I think Key means to uncheck that box.

 

But using HTML there is probably a way to fake out the tidyizer. I know that one can somehow put <codebox] bbcode (with the correct [ to open it) in a forum post without it actually opening a scrollable code box.

_ _ _

| | (_) | |

| |_ _ __ __ _ _ _ __ | | _____ _____

| __| '__/ _` | | '_ \| |/ _ \ \ / / _ \

| |_| | | (_| | | | | | | (_) \ V / __/

\__|_| \__,_|_|_| |_|_|\___/ \_/ \___|

 

Well no font here makes this ASCII Art look good. YUCK.

Edited by trainlove
Link to comment

Well no font here makes this ASCII Art look good. YUCK.

I think you need to put it in a CODE block to see it here:

_			 _	   _				
| |		   (_)	 | |			   
| |_ _ __ __ _ _ _ __ | | _____   _____ 
| __| '__/ _` | | '_ \| |/ _ \ \ / / _ \
| |_| | | (_| | | | | | | (_) \ V /  __/
\__|_|  \__,_|_|_| |_|_|\___/ \_/ \___|

hmmmm... still not quite right -- it strips out multiple spaces.

Link to comment

Still not having any luck with this. I tried a Code Block but "code" was changed to "pre" on the cache page. Smiley (or frownie) still comes up as the picture, not as code.

 

Btw, I need the html box checked because I'm using that for other parts of this page.

Link to comment

Well no font here makes this ASCII Art look good. YUCK.

I think you need to put it in a CODE block to see it here:

_			 _	   _				
| |		   (_)	 | |			   
| |_ _ __ __ _ _ _ __ | | _____   _____ 
| __| '__/ _` | | '_ \| |/ _ \ \ / / _ \
| |_| | | (_| | | | | | | (_) \ V /  __/
\__|_|  \__,_|_|_| |_|_|\___/ \_/ \___|

hmmmm... still not quite right -- it strips out multiple spaces.

 

The standard HTML "SPACE" can be represented by this:  ?nbsp;

Substitute the Ampersand(&) Sign for the Question(?) Mark. Remember the Semi-Colon.

It may also work in BBCode as well, but I haven't tried it yet.

In HTML it can be used as many times as you want.

Also, It is self-adjusting according to the SIZE of the FONT.

Edited by Fledermaus
Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...