New User Posts:

Categories:

Sponsers:


I just love breaking things. - Site News
Posted on: 2007-04-13 18:46:22

Previously, I have always taken the approach of stripping HTML code out of user comments. While I don't really regret doing this, I do kinda want to allow underline, italic, and bold tags as well, and I can always play with the idea of adding others later if I want. I added the basics for getting them working in my test script. Perfectly formatted, everything worked fine. But as I was playing around with some alternate formatting, I made a discovery: my recall script is broken. Everything after a newline was not saved and while I thought I had checked for that, I apparently hadn't. And, in trying to fix that, I broke all of it. Looks like I know what I am doing tonight. And then once I finish that, nailing down the html tags should be faster to get working.

UPDATE: Well, it looks like I fixed the recall function. I just had to ask Google the right question in the right way...or at least guessing the appropriate direction to go. Now to get working on other stuff.



You can use <b></b> <i></i> <u></u> tags.



Image text: