[Pmwiki-users] Error in indent sequence

John Rankin john.rankin at affinity.co.nz
Sun May 25 15:28:18 CDT 2003


Have you tried=20

---->

I found I had to do an array_merge to put -> markup ahead of ---- markup.
--=20
John Rankin

On Monday, 26 May 2003 3:23 AM, Janice Heinold <jmhdesign at att.net> wrote:
Hope your weekends are going well!

I tried implementing the indent sequence using ->, -->, etc. I added =20
the following line to local.php:

$InlineReplacements["/^(-+)>(.*)/e"] =3D
"str_repeat('<blockquote>',strlen('\$1')).str_replace('\\\"','\"','\$2')=20
.str
_repeate('</blockquote>',strlen('\$1'))";

However, this doesn't work. I'm guessing PmWiki replaces > with &gt; =20
before it gets to the above line. The code that worked for me is:

$InlineReplacements["/^(-+)\&gt\;(.*)/e"] =3D =20
"str_repeat('<blockquote>',strlen('\$1')).str_replace('\\\"','\"','\$2')=20
.str_repeat('</blockquote>',strlen('\$1'))";

For an example, see =20
http://www.trinityvictoria.net/wikiweb2/pmwiki.php/Main/WikiSandbox

Janice


_______________________________________________
Pmwiki-users mailing list
Pmwiki-users at pmichaud.com
http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com







More information about the pmwiki-users mailing list