- Summary
<div>
s wrapped around page text by PmWiki
- Type
- Change
- Raised by
- dg?
- Date opened
- Monday, 4 April 2005
- Description
scripts/skins.php
wraps the following hardcoded HTML around page text:
array_push($PageStartFmt,”\n<div id=‘wikitext’>\n”);
array_unshift($PageEndFmt,’</div>’);
- Importance
- 3
- Proposed solution
- Initially, this is worked around by popping and shifting the
<div>
and </div>
from the arrays. Ideally, PmWiki would provide some way of turning off this hardcoded HTML, or transferring it to the skins themselves. If the hard-coded <div>s were variables, we could use them to wrap the appropriate root level tbook tag around the text.
- Urgency
- 2
- Status
- Closed
- Resolution
- As of beta 2.30, PmWiki supports $PageTextStartFmt and $PageTextEndFmt variables. We have’t used this yet, but it’s there when needed. All tbook wrapping tags are in the template.
- Date closed
- Wednesday, 11 May 2005
« 00010 · Edit Form · 00012 »