[pmwiki-users] preserving font for lines starting with spaces

adam overton a at plus1plus1plus.org
Sun Mar 23 14:38:20 CDT 2008


hi henrik
thanks so much for the heads up
alas, here are my discoveries

$EnableWSPre=0;
and
whitespace.php turned off

result -> preformatted text retains the body font, but is shifted to  
the left and loses its spacing in both browsers

$EnableWSPre=0;
and
whitespace.php turned on

result -> everything works as desired in safari, but in my version of  
firefox everything is shifted again to the left

a


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/fe8bbe28/attachment.html 


More information about the pmwiki-users mailing list