[pmwiki-users] finding lines with space in front

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Wed Jun 18 01:54:09 CDT 2008


On Tue, 17 Jun 2008, Peter Bowers wrote:

> ##  Some sites may want leading spaces on markup lines to indicate
> ##  "preformatted text blocks", set $EnableWSPre=1 if you want to do
> ##  this.  Setting it to a higher number increases the number of
> ##  space characters required on a line to count as "preformatted text".
> # $EnableWSPre = 0;  # PmWiki 2.2.0 default (disabled)
> # $EnableWSPre = 1;  # lines beginning with space are preformatted
> # $EnableWSPre = 4;  # lines with 4 spaces are preformatted
>
> So, set it = 0. (Unless, of course, some of your authors have 
> intentionally used this feature, in which case you have a decision to 
> make.)

If you mean it's a problem to activate this for the entire site, he could 
just enable it for that particular group or that particular page.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list