Recent Changes
Recent Changes · Search:
 
Summary
Are any HTML tags hard-coded?
Type
Question
Raised by
John Rankin
Date opened
Thursday, 10 February 2005
Description
PmWiki is agnostic about which wiki markup to use. Is it also agnostic about the output markup it produces? To transform wiki markup to a DTD other than XHTML, we need PmWiki to treat all output tags as data that we can re-map. We found hard-coded tags in scripts/trails.php; are there others? Does PmWiki aim to be output agnostic?
Importance
5
Proposed solution
For the trails example we found, it’s a simple matter to ask Pm to move the tag information from the trails functions into the Markup definitions. In the mean time, we can redefine the handling of trail markup, as we don’t need the navigation on printed output. We’ll need to treat this issue on a case-by-case basis.
As a more general solution, Pm has proposed the use of an AltMarkup() function which allows alternate output to be specified for previously defined markup.
Urgency
3
Status
Closed
Resolution
Handled through the tbook: namespace, which allows us to strip away unwanted xhtml tags.
Date closed
Wednesday, 30 March 2005

« 00001 · Edit Form · 00003 »

Page last modified on 30 March 2005 at 07:42 PM