[pmwiki-users] preserving font for lines starting with spaces
adam overton
a at plus1plus1plus.org
Sun Mar 23 14:41:32 CDT 2008
ahh
i just found that if i include the following into config.php, things
work:
$BrowserIE = 1; // turns all ensp's to nbsp's (firefox apparently
doesn't recognize ensp's)
include_once("cookbook/whitespace.php");
although that does it for the whole site, so i guess i'd wrap it in a
conditional for the $pagename's where i wouldn't want it to execute
alright. thanks for the tips!
adam
On 23 Mar 2008, at 8:08 AM, Henrik wrote:
> From the pmwiki release notes:
>
> It's now easy to disable the rule that causes lines with leading
> spaces to be treated as preformatted text -- simply set
> $EnableWSPre=0; to disable this rule.
>
> Does this help?
>
> - Henrik
>
> adam overton wrote:
>>
>> thanks for the heads up
>> however, while it appears that whitespace.php works in Safari
>> it seems not to in my version of Firefox (v.2.0.0.12)
>> : (
>>
>>
>> On 22 Mar 2008, at 5:02 PM, Hans wrote:
>>
>>> Saturday, March 22, 2008, 11:43:00 PM, adam overton wrote:
>>>
>>>> besides changing the font-family in the text block to courier
>>>> (which
>>>> i'd rather not do), how can i keep everything the same font-face?
>>>> thanks!
>>>
>>> perhaps try enabling LiteralWhiteSpace for the comment pages?
>>> http://www.pmwiki.org/wiki/Cookbook/LiteralWhiteSpace
>>>
>>> (or use one of its components)
>>>
>>>
>>> ~Hans
>>>
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>
> --
>
> Henrik Bechmann
> www.bechmann.ca
> Webmaster, www.dufferinpark.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080323/9ae8a2c1/attachment.html
More information about the pmwiki-users
mailing list