[Pmwiki-users] Error in indent sequence
Patrick R. Michaud
pmichaud at pobox.com
Thu Jun 5 01:09:44 CDT 2003
Out of curiosity, would it work to use "===>" for indents instead of "--->"?
This would solve the ----> problem.
Pm
On Mon, May 26, 2003 at 08:28:18AM +1200, John Rankin wrote:
> Have you tried
>
> ---->
>
> I found I had to do an array_merge to put -> markup ahead of ---- markup.
> --
> 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
> the following line to local.php:
>
> $InlineReplacements["/^(-+)>(.*)/e"] =
> "str_repeat('<blockquote>',strlen('\$1')).str_replace('\\\"','\"','\$2')
> .str
> _repeate('</blockquote>',strlen('\$1'))";
>
> However, this doesn't work. I'm guessing PmWiki replaces > with >
> before it gets to the above line. The code that worked for me is:
>
> $InlineReplacements["/^(-+)\>\;(.*)/e"] =
> "str_repeat('<blockquote>',strlen('\$1')).str_replace('\\\"','\"','\$2')
> .str_repeat('</blockquote>',strlen('\$1'))";
>
> For an example, see
> 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