When a trackback is sent it shows the original formatting text of the entry. This is definately not what we want as most sites that offer trackback aren't wikis. Also, since the excerpt is limited to 200 chars any formatting makes the excerpt smaller. I suggest adding parsing of the data and removal of all HTML from the parsed text before doing the substr call for the excerpt. All that needs to be done is to change this line in lib/blogs/bloglib.php:
$submit_vars["excerpt"] = substr($post_info['data'], 0, 200);
$submit_vars["excerpt"] = substr(preg_replace('/<[^>]*>/', '', $this->parse_data($post_info['data'])), 0, 200);
Log in to post a comment.