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

kenyon@kerneltrap.org’s picture

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

kenyon@kerneltrap.org’s picture

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.

kenyon@kerneltrap.org’s picture

Back to active.

teradome’s picture

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.

teradome’s picture

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.

teradome’s picture

Assigned: Unassigned » teradome
teradome’s picture

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!

Anonymous’s picture

Status: Fixed » Closed (fixed)