[Pmwiki-users] own special markups are causing <pre > statements in the html output

Marcus Brauer imb-its
Thu Apr 29 07:17:23 CDT 2004


Hi Peter, all,

PH> sorry but this is not working. I got  for every line of a page two
PH> error messages:

PH> *Warning*: file("") - Success in */hdc/www/wiki/pmwiki.php(866) :
PH> regexp code* on line *1*
PH> *Warning*: Bad arguments to implode() in */hdc/www/wiki/pmwiki.php(866)
PH> : regexp code* on line *1*

PH> $InlineReplacements["/[#htmlinc:(.*?)#]/e"] = "implode('',file(\"$1\"))";

Uuhps, my fault, sorry. I changed the markup on the fly and forgot to
'backslash' the brackets.

Please give it one more chance:

$InlineReplacements["/\[#htmlinc:(.*?)#\]/e"] = "implode('',file(\"$1\"))";

I tested the line above and it worked for me.

--
Marcus




More information about the pmwiki-users mailing list