[Pmwiki-users] Error in indent sequence

Janice Heinold jmhdesign at att.net
Sun May 25 10:23:46 CDT 2003


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 &gt;  
before it gets to the above line. The code that worked for me is:

$InlineReplacements["/^(-+)\&gt\;(.*)/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





More information about the pmwiki-users mailing list