Hey again all,
I've been developing a plugin, and in the vBulletin Options for this plugin, there's a textarea where users can input a paragraph for their rules.
I have this following contents in my database, which is being called:
Code:
a
b
^That is EXACTLY as it is in the database, which causes my plugin not to work.
An image (just to be more clear):
Now, in the database, there is no \r or \n or anything of the sort. It is exactly as I mentioned above.
I'm working primarily with JavaScript (innerHTML), and need to find a way to make carriage returns be interpreted as <br /> tags and NOT as physical carriage returns.