// This is an excerpt from the WordPress source code. http://wordpress.org/about/gpl/ add_filter('the_content', 'wptexturize'); add_filter('the_content', 'convert_smilies'); add_filter('the_content', 'convert_chars'); add_filter('the_content', 'wpautop'); add_filter('the_content', 'prepend_attachment'); # snip... add_filter('comment_text', 'wptexturize'); add_filter('comment_text', 'convert_chars'); add_filter('comment_text', 'make_clickable', 9); add_filter('comment_text', 'force_balance_tags', 25); add_filter('comment_text', 'convert_smilies', 20); add_filter('comment_text', 'wpautop', 30);