[Pmwiki-users] Problem with %define= ... %

John Rankin john.rankin
Thu Dec 2 14:31:30 CST 2004


On Friday, 3 December 2004 5:27 AM, John Feezell <JohnFeezell at 3wplace.com> wrote:
>On Thu, 2 Dec 2004 09:05:51 -0700, Patrick R. Michaud <pmichaud at pobox.com>  
>wrote:
>
>> On Thu, Dec 02, 2004 at 09:29:30AM -0600, John Feezell wrote:
>>> The following line appears at the top of the page just under
>>> the title for all pmwiki/pages except pmwiki/GroupHeaders on my site.
>>>
>>> %define=important block bgcolor=#fcc border=?1px solid black?  
>>> padding=5px%
>>
>> Let me guess (haven't looked at the site yet).  You're probably running
>> the smart-quotes extension...
>>
>>> You can see this at:
>>> <http://cbfa-cos.org/wiki/PmWiki/ReleaseNotes>
>>
>> Yup, that's it.  SmartQuotes is converting the quotes inside of
>> the wikistyle into &lsquo; and &rsquo;, and that's causing the
>> wikistyle to no longer be seen as a wikistyle.
>>
>> The "simple" solution for now would be to remove the
>> %define=important ...% line from the GroupHeader on your site--despite
>> what it defines, it's not all that important.  :-) :-)
>>
>> Pm
>>
>Done.  Thanks.
>
>/JF
>
I'll see if I can make smart quotes either load after % ... % or
pass over text inside % ... %.

And IIRC, PmWiki 2 allows us to define class names, so the effect
could also be achieved through an external style definition.

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list