View Full Version : Front-end editing of links with quotes in title

09-23-2004, 05:25 PM
When you click edit on a link with a quote or quotes in the title, it cuts off the text in the textbox from the first quote.

This is a "Title"

When editing:
This is a

09-23-2004, 07:32 PM
In your addlink.php file look for:

$unhtml_linkname = unhtmlspecialchars(stripslashes($link['name']));
$linkname = stripslashes($link['name']);
$description = unhtmlspecialchars(stripslashes($link['description']));
$linkurl = unhtmlspecialchars(stripslashes($link['url']));
$keywords = unhtmlspecialchars(stripslashes($link['keywords']));

Replace that with:

$unhtml_linkname = stripslashes($link['name']);
$linkname = stripslashes($link['name']);
$description = stripslashes($link['description']);
$linkurl = stripslashes($link['url']);
$keywords = stripslashes($link['keywords']);

And that should fix the problem.