Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Show Bbcode Tags In A Html Doc


  • Please log in to reply
2 replies to this topic

#1 Yourhighness

Yourhighness

    The BSG Malware Fighter


  • Malware Response Team
  • 7,943 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hamburg
  • Local time:03:14 AM

Posted 13 August 2007 - 02:18 PM

Hey Guys,

I cannot seem to recall / find, which tag to use if I want the BBCode tags to be shown in a html document.
So to say:

[b]this should not be shown in bold[/b]

Any hint would be great. Cheers,

YoHi

"How did I get infected?" - "Safe-hex" - Member of UNITE -
Posted Image


BC AdBot (Login to Remove)

 


m

#2 jpshortstuff

jpshortstuff

    WhatTheTech Teacher


  • Members
  • 660 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:UK
  • Local time:03:14 AM

Posted 13 August 2007 - 04:40 PM

Im not sure if i understand the question...

what is it you want the page to show?

[b]this should not be shown in bold[/b]
For this you can just put that in as normal, the tags here wont be changed, they will be displayed.

If its the <b> tags you want displayed, then you use HTML Special Chars:
e.g:
&lt;b>Not shown in bold&lt;b>
&lt;
being the spec. char for <.

Does that cover it? Like i say im not sure exactly what you were getting at...

jpshortuff

EDIT: Testing stuff:
&lt;
Theres the spec. char i was trying to get. Before it kept being converted to a <.

Edited by jpshortstuff, 13 August 2007 - 04:43 PM.

Trained at the What The Tech Classroom where you too could learn to help others.

My help is free, however, if you wish to make a small donation to show appreciation and to help me continue the fight against Malware, then click here Posted Image

Posted Image

#3 Yourhighness

Yourhighness

    The BSG Malware Fighter

  • Topic Starter

  • Malware Response Team
  • 7,943 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hamburg
  • Local time:03:14 AM

Posted 13 August 2007 - 11:14 PM

Heya,

I just wanted to have bbcode shown on a html page, without it being implemented. Additionally, I wanted it sort of indented.
I found the <code> and <pre> tag, but they dont seem to work. So do I just use it w/o any tags and it works fine?

- edit -

Right I ended up using normal bb code with some html inbetween to have it look a bit neater and using the <blockquote> for indenting.
Thanks for shaking the BSG around a bit to get his twisted mind on track :thumbsup:

Edited by Yourhighness, 13 August 2007 - 11:54 PM.

"How did I get infected?" - "Safe-hex" - Member of UNITE -
Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users