Project:Markdown with SmartyPants
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:teradome
Status:closed (fixed)

Issue Summary

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

#1

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

#2

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

Back to active.

#4

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

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

Assigned to:Anonymous» teradome

#7

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

Status:fixed» closed (fixed)
nobody click here