I was trying to use HTML in a post for my team's forum this evening. I was simply trying to bold a few words here and there. The first time I tried to do it in the post, no matter what or where I was bolding, the first time in the post it didn't work. The open tag was visible in the post, but the closing was not. Every bolding the rest of the way worked just fine. After a good bit of testing it, I have figured out what was happening, but I have no idea why. The html tags were treated as normal text until a closing tag was come across. This closing tag was removed when the post was displayed, and the rest of the tags worked just fine.
I'm going to do a similar thing below. You'll see the first tag appear, and the first bolding does not work, but all the rest of the tags are treated correctly.
this should not be bold
<b>but this should</b>
and this should not
<b>this should</b>
this shouldn't
<b>and this should be bold as well</b>
What I did in the post on my team forum was just put a dummy closing tag before my first real html tag and this made it work just fine (although it made the dummy tag appear). I used three characters for the dummy tag, <,/,> (obviously the commas weren't there). See the post below for an example of this.
I hope I've gotten the point across because this is a difficult thing to describe. I'll keep an eye on this thread, so let me know if I need to explain anything better.
I'm going to do a similar thing below. You'll see the first tag appear, and the first bolding does not work, but all the rest of the tags are treated correctly.
this should not be bold
<b>but this should</b>
and this should not
<b>this should</b>
this shouldn't
<b>and this should be bold as well</b>
What I did in the post on my team forum was just put a dummy closing tag before my first real html tag and this made it work just fine (although it made the dummy tag appear). I used three characters for the dummy tag, <,/,> (obviously the commas weren't there). See the post below for an example of this.
I hope I've gotten the point across because this is a difficult thing to describe. I'll keep an eye on this thread, so let me know if I need to explain anything better.
Last edited Apr 29, 2008 08:19:47






























