There are 2 variables that contain the wrapping HTML for the wikitext.
Their default values are:
$PageTextStartFmt = "\n<div id='wikitext'>\n";
$PageTextEndFmt = "</div>\n";
If you redefine these in config.php, they will be used instead of the
default ones.
The <p> comes from the MarkupToHTML conversion.
Petko
--
If you upgrade : http://www.pmwiki.org/Upgrades
On 08/12/2019 17:10, da...@ellendee.co.uk wrote:
Is there a way to customise the markup produced by <!-pagetext- -> in a
template.
It produces:
<div id='wikitext'>
<p>
. page contents
I would like to produce - at the head of the page contents - the
following
<div id='wikitext'>
<textarea>
. page contents
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users