jonathan7799
02-04-2005, 04:11 PM
Hi,
My trouble is this.
I have a Perl script accessing a MySQL database that contains a veriety of things as well as HTML content.
My Perl creates an interface for editing the HTML content, everything is find up until I add < or > which is part of the content and not part of the html, what it does during edit is display the > as < rather than just leave it alone as I would like...Also, the content is written in HTML, so it must leave alone < and > as they are, as well as > and < without conversion.
Then when the edit is complete and the content displayed it thinks that whats held between the <> is html code and doesn't display it....
I realise that it is the browser thats doing this, but surely there is a way to either stop it or protect the symbols...
Can anyone help with this.....
Jonathan
P.S. Incidentally, I notice that this system doesn't have this problem, though I do not wish to move to PHP at this point....
My trouble is this.
I have a Perl script accessing a MySQL database that contains a veriety of things as well as HTML content.
My Perl creates an interface for editing the HTML content, everything is find up until I add < or > which is part of the content and not part of the html, what it does during edit is display the > as < rather than just leave it alone as I would like...Also, the content is written in HTML, so it must leave alone < and > as they are, as well as > and < without conversion.
Then when the edit is complete and the content displayed it thinks that whats held between the <> is html code and doesn't display it....
I realise that it is the browser thats doing this, but surely there is a way to either stop it or protect the symbols...
Can anyone help with this.....
Jonathan
P.S. Incidentally, I notice that this system doesn't have this problem, though I do not wish to move to PHP at this point....