Smartypants not up to date

moonray - December 13, 2007 - 23:14
Project:SmartyPants
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Smartypants.inc is a little old, and could use some updating. Here is a good version that fixes several bugs: http://michelf.com/projects/php-smartypants/

One particular bug is found when feeding this to smartypants:

<!--[if !IE]>-->
<p>Not IE.</p>
<!--<![endif]-->
<!--[if IE]>
<p>IE, for sure.</p>
<![endif]-->

It spits out this (instead of leaving it alone, like it should):

<!--[if !IE]>-->
<p>Not IE.</p>
<!--<![endif]--><![endif]-->
<!--[if IE]>
<p>IE, for sure.</p>
<![endif]--><p>IE, for sure.</p>
<![endif]-->

So, please update the smartypants include script.

#1

Alan D. - July 15, 2009 - 05:22
Priority:critical» normal
Status:needs review» active

Add a patch if you set the status to "Needs review". Use "Active" to flag a issue.

Also Critical is reserved for bugs that crash a installation.

 
 

Drupal is a registered trademark of Dries Buytaert.