[pmwiki-users] Single Space breaks wrap on entire page

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 22 07:43:53 CDT 2005


> On Thu, Sep 22, 2005 at 01:15:01PM +0100, Hans wrote:
> > Is it possible to switch off the "empty spaces at the line start
> > creates <pre> tags" entirely, perhaps have empty spaces at line starts
> > converted to -> indentations?

Oops, I forgot to cut and paste the correct markup rule:

    Markup('^ ', 'block',
      '/^(\\s+)/e',
      "'<:indent,'.floor(strlen('$1')/4+1).'>'");

Shown at http://www.pmwiki.org/wiki/Test/SpaceIndents .

Pm




More information about the pmwiki-users mailing list