Excellent! I wasn't even aware of that directive.

Also note that you can place php code for specific groups and pages in your "local" directory: see http://www.pmwiki.org/wiki/PmWiki/PerGroupCustomizations

Best,

- Henrik

adam overton wrote:
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| <http://pmwiki.org/wiki/PmWiki/BasicVariables#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
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

--

Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca


--

Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to