Doesn't play nicely with SmartyPants

ewildgoose - May 26, 2005 - 14:05
Project:Markdown with SmartyPants
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:teradome
Status:closed
Description

Doesn't seem to like being installed at the same time as the SmartyPants module. Both seem to have a function called SmartyPants defined which seens to cause an error

#1

kenyon@kerneltr... - May 28, 2005 - 22:13

That's because SmartyPants is part of this module. You don't need the separate SmartyPants module if you have this one installed.

#2

kenyon@kerneltr... - May 29, 2005 - 00:33

Actually nevermind. I see where this can be a problem. Suppose you want to use Markdown with one input filter, and just SmartyPants with another. Then this bug would occur.

#3

kenyon@kerneltr... - May 29, 2005 - 00:33

Back to active.

#4

teradome - July 2, 2005 - 19:39

ah ha, yes -- we're using different PHP ports, but both PHP versions define the function as SmartyPants(), which is where the problem lies.

i thought there might be an easy fix but there isn't. hmmm.

#5

teradome - July 15, 2006 - 20:32

HEY GUYS

Marksmarty has an experimental version now in HEAD which allows you to turn Markdown off. This way you can use it solely as a SmartyPants filter. Please give it a spin.

#6

teradome - July 15, 2006 - 20:33
Assigned to:Anonymous» teradome

#7

teradome - October 7, 2006 - 19:49
Status:active» fixed

I gave it a pretty good spin so I committed it into the 4.7 branch. Now you many turn off Markdown and use SmartyPants only, if that's what you want.

Since this report came in for 4.6, I applied the work there as well. I can no longer test for 4.6 but it was a simple enough change so there should be no problems. Please provide feedback on this change. Thank you!

#8

Anonymous - October 21, 2006 - 20:01
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.