Hans, in your function InputPlusMarkup($m) you need to extract the
$pagename variable from $GLOBALS['MarkupToHTML'], otherwise it will be null. See examples at CustomMarkup. --Petko June 16, 2017, at 02:00 PM
thank you, now corrected. I missed that one. It is a new code-line to remember, gotten so used to having
$pagename as one of a function's arguments in PmWiki! - H.