93a34bf3 | 13-Mar-2008 |
Chris Smith <chris.eureka@jalakai.co.uk> |
update preformatted syntax mode to ignore entire blocks of white space
This patch only updates the actual "preformatted" syntax mode, that is only preformatted blocks caused by leading blanks on a l
update preformatted syntax mode to ignore entire blocks of white space
This patch only updates the actual "preformatted" syntax mode, that is only preformatted blocks caused by leading blanks on a line. If the entire block is empty, it is ignored. ie. if a block of preformatted text has leading or trailing empty lines and some non-empty lines, the leading and trailing content are preserved.
darcs-hash:20080313203950-f07c6-9d0745b157e45b61b06ff0c7d85bec8558946c1e.gz
show more ...
|
d968d3e5 | 12-Mar-2008 |
Chris Smith <chris.eureka@jalakai.co.uk> |
Add support for plugin renderers to replace standard renderers
This patch is the fourth in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks.
Add support for plugin renderers to replace standard renderers
This patch is the fourth in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks.
It adds: - new config setting 'renderer_xhtml', default value 'xhtml' - new renderer method 'reset()' which is used by reusable renderers when used to render second and subsequent data. (*)
An extra step has been added to the renderer selection process. - check $conf["renderer_$mode] for renderer name. If it doesn't exist use $mode as the renderer name.
(*) It maybe that the 'document_start()' method can be used for this. However the current xhtml does not correctly reset itself for reuse.
darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz
show more ...
|
52fe2bfb | 12-Mar-2008 |
Chris Smith <chris.eureka@jalakai.co.uk> |
change line-break replacement character to '\n'
This patch is the third in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks.
It effectively
change line-break replacement character to '\n'
This patch is the third in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks.
It effectively leaves the new-line character '\n' in the 'cdata' instruction allowing the renderer to process the character as it chooses. No changes have been made to the renderers.
This change is neutral to xhtml renderers as xhtml treats spaces and new-lines identically (as white-space).
Writers of renderer plugins are advised to check their plugin against the new patch.
darcs-hash:20080312000924-f07c6-a6dab2d16c7bc42e9dc8eb137648c6f984b4f2e6.gz
show more ...
|
546d3a99 | 10-Mar-2008 |
Andreas Gohr <andi@splitbrain.org> |
another change in highlight handling
Now higlighting phrases are passed as an array which then is quoted correctly when used in a regexp. This should make phrase highlighting work completely correct
another change in highlight handling
Now higlighting phrases are passed as an array which then is quoted correctly when used in a regexp. This should make phrase highlighting work completely correct.
Please everyone test it.
darcs-hash:20080310214939-7ad00-1abefb02dde40edeead50b4fa5c866c46b95ca3a.gz
show more ...
|