Recent Topics

1 May 18, 2006 15:30    

Hey, I recently did two things to my blog:

1) Upgraded from Paris to Dawn
2) Installed the captcha program

It's come to my attention that when posting comments, html (like linking, for example) is getting stripped out. Anybody have any idea why?

Feel free to try commenting out if it helps. I appreciate it.

www.autodogmatic.com

2 May 18, 2006 15:45

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>

They're the only tags that will be accepted in comments, if you want to add others then you need to hack conf/_formatting.php

¥

3 May 18, 2006 15:46

For a quick fix, just edit the post. It seems to fix it as well.

4 May 18, 2006 15:56

Wow ... don't know how I missed that. I guess I got so used to it. Thanks for the quick responses: I'll try and search and find a way to add the link html.

5 May 18, 2006 16:08

I don't know if this only works in 1.6+ but, add this to the bottom of _formatting.php (before ?> obviously)

		$comment_allowed_tags .= '<a>';
		$comments_allowed_tags += array( 'a' => C_E_a_content );  // allowing <a> 

¥

6 May 18, 2006 16:56

I tried it, but got this message:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /usr/local/4admin/apache/vhosts/autodogmatic.com/httpdocs/conf/_formatting.php on line 472

Here's how the bottom of formatting.php looks:

# ** RSS syndication options **
# these options are used by rdf.php (1.0), rss.php (0.92), and rss2.php (2.0)
# length (in words) of excerpts in the RSS feed? 0=unlimited
# Note: this will not apply to html content!
$rss_excerpt_length = 0;

        $comment_allowed_tags .= '<a>'; 
        $comments_allowed_tags += array( 'a' => C_E_a_content );  // allowing <a> 
?>

7 May 18, 2006 17:03

Hmmm, wierd, I just tried it on a 0.9.0.12 install with no problems?

¥

8 May 18, 2006 17:03

$comment_allowed_tags .= '<a>';
$comments_allowed_tags += array( 'a' => C_E_a_content );  // allowing <a>

Worked for me

9 May 18, 2006 18:41

Ah ... it had something to do with my editor changing some of the text into symbols ... it works now. Thanks a lot guys!


Form is loading...