2011-12-22, 05:17:39
ccagle8 Wrote:mikeh: This is the way Extend does it...
1. Include markdown.php [ http://michelf.com/projects/php-markdown/ ]
Code:require_once('includes/markdown.php');
2. When spitting out the description, do it this way:
Code:echo Markdown(stripslashes(html_entity_decode($description, ENT_QUOTES, 'UTF-8')))
I was trying to avoid including the 25kb markdown script, but that will work. Thanks