Recent Changes
Recent Changes · Search:

Issues.00005 History

Hide minor edits - Show changes to output

30 March 2005 at 07:39 PM by John Rankin -
Changed lines 17-21 from:
:Status:Active

:Resolution:

:Date closed
:
to:
:Status:Closed

:Resolution:Use of a tbook: namespace and posteval rules handles this nicely. It just works.

:Date closed:2005-03-30
23 March 2005 at 10:16 AM by John Rankin -
Changed lines 1-2 from:
:Summary:How to remove unwanted xhtml
to:
:Summary:How do we remove unwanted xhtml
Changed lines 17-18 from:
:Status:Open
to:
:Status:Active
Changed lines 3-4 from:
:Type: Question
to:
:Type:Question
Changed lines 13-14 from:
:Proposed solution:We need a way to tell PmWiki to edit the output from any markups we haven't specifically defined. For example, to debug we might want [@'/<(.*?)>/'@] -> [@'&lt;$1&gt;'@]. Then when we are happy with the results, we might want [@'/<(.*?)>/'@] -> [@''@].
to:
:Proposed solution:We need a way to tell PmWiki to edit the output from any markups we haven't specifically defined. For example, to debug we might want [@'/<(.*?)>/'@] -> [@'&lt;$1&gt;'@]. Then when we are happy with the results, we might want [@'/<(.*?)>/'@] -> [@''@]. In the first pass, we prepend an XML namespace (<tbook:..> </tbook:...>) to all tags we generate. In the PmWiki postprocessing pass, we strip out (or for debugging, replace angle brackets with literal angle brackets [@'&lt;$1&gt;'@]) all tags without this namespace, then remove the namespace from the remaining tags.
02 March 2005 at 12:35 PM by John Rankin -
Added lines 1-21:
:Summary:How to remove unwanted xhtml

:Type: Question

:Raised by:[[~John Rankin]]

:Date opened:2005-03-02

:Description:At any point, [[pdf2you]] will handle a subset of all possible wiki markups. This is because new markups keep getting added and people can create any number of local customisations. We thus need a strategy for eliminating unwanted xhtml tags from the output that we expect will be conform to the tbook dtd.

:Importance:4

:Proposed solution:We need a way to tell PmWiki to edit the output from any markups we haven't specifically defined. For example, to debug we might want [@'/<(.*?)>/'@] -> [@'&lt;$1&gt;'@]. Then when we are happy with the results, we might want [@'/<(.*?)>/'@] -> [@''@].

:Urgency:3

:Status:Open

:Resolution:

:Date closed:
Page last modified on 30 March 2005 at 07:39 PM