I have a question, Mutt. Why are these 2 lines AFTER you call the quote reply? The first line is already before you add your code.
PHP Code:
$message[message] = htmlspecialchars($message[message]); // Without this, a </textarea> in the message breaks the form on preview
$subject = htmlspecialchars($subject);
And wouldn't it be better to change this:
PHP Code:
eval("\$message[message] = \"".gettemplate("quotereply",1,0)."\";");
to this:
PHP Code:
eval("\$message[message] = \"".gettemplate("quotereply",1,0)."\n\n\";");
so you will be down 2 lines from the quote, instead of on the quote line, when you click in the box? Just a thought.