Closed (fixed)
Project:
Markdown with SmartyPants
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 May 2005 at 14:05 UTC
Updated:
21 Oct 2006 at 20:01 UTC
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
Comments
Comment #1
kenyon@kerneltrap.org commentedThat's because SmartyPants is part of this module. You don't need the separate SmartyPants module if you have this one installed.
Comment #2
kenyon@kerneltrap.org commentedActually 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.
Comment #3
kenyon@kerneltrap.org commentedBack to active.
Comment #4
teradome commentedah 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.
Comment #5
teradome commentedHEY 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.
Comment #6
teradome commentedComment #7
teradome commentedI 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!
Comment #8
(not verified) commented