BleepingComputer.com: Show Bbcode Tags In A Html Doc

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Show Bbcode Tags In A Html Doc

#1 User is offline   Yourhighness 

  • The BSG Malware Fighter
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Malware Response Team
  • Posts: 7,927
  • Joined: 20-April 06
  • Gender:Male
  • Location:Hamburg

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

#2 User is offline   jpshortstuff 

  • WhatTheTech Teacher
  • PipPipPipPipPip
  • Find Topics
  • Group: Malware Response Team
  • Posts: 660
  • Joined: 15-June 07
  • Gender:Male
  • Location:UK

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 <.

This post has been 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 User is offline   Yourhighness 

  • The BSG Malware Fighter
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Malware Response Team
  • Posts: 7,927
  • Joined: 20-April 06
  • Gender:Male
  • Location:Hamburg

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:

This post has been edited by Yourhighness: 13 August 2007 - 11:54 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users