95c19ce7 | 04-Oct-2009 |
Chris Smith <chris.eureka@jalakai.co.uk> |
FS#1652, #FS1699
Ignore-this: b30b4a3061ad7a485012f6fd55cdfc78 This patch fixes problems with blank lines which contain whitespace before EOL. It also fixes an issue with preformatted syntax mode no
FS#1652, #FS1699
Ignore-this: b30b4a3061ad7a485012f6fd55cdfc78 This patch fixes problems with blank lines which contain whitespace before EOL. It also fixes an issue with preformatted syntax mode not triggering following p_open instructions under some circumstances.
Note: The fix can result in swallowing of non-eol white space that precedes the EOL. This can happen when there is no non-whitespace CDATA between the end of the previous syntax mode and the EOL character.
darcs-hash:20091004190359-f07c6-36bb418cb9be8bbaff741b4cbe135c442d0bde81.gz
show more ...
|
30897fec | 04-Oct-2009 |
Chris Smith <chris.eureka@jalakai.co.uk> |
#FS1749, alter linebreak pattern to swallow trailing whitespace (except newline)
Ignore-this: 5621e4ff0eb5b759a2176a417bf6779e includes updated unit tests
darcs-hash:20091004101720-f07c6-5700a40065
#FS1749, alter linebreak pattern to swallow trailing whitespace (except newline)
Ignore-this: 5621e4ff0eb5b759a2176a417bf6779e includes updated unit tests
darcs-hash:20091004101720-f07c6-5700a40065a496b38ba83c73d4ebcb86388aaabc.gz
show more ...
|
3d491f75 | 26-Jul-2009 |
Andreas Gohr <andi@splitbrain.org> |
enhanced <code> and <file> syntax
Ignore-this: 80398f84222bec1fce56eee8f107d37a
This patch enhances the code and file syntax with several new features.
1. code and file are now essentially the sam
enhanced <code> and <file> syntax
Ignore-this: 80398f84222bec1fce56eee8f107d37a
This patch enhances the code and file syntax with several new features.
1. code and file are now essentially the same and just differ in the class name. This means you now can use the file syntax with syntax highlighting as well. This also solves problems where the code to highlight already contains a <code> tag (FS#1493)
2. a filename can be given as label for the code or file block. It is specified as second parameter after the language:
<code html myfile.html>...</code>
If no highlighting is wanted, but a filename shall be given, you can use a dash as language:
<code - somefile.foo>...</code>
3. when a filename was given (as shown above), the label links to a download of the code given in the code/file block. This is made possible by a new renderer in inc/parser/code.php. The basename of given filename is suggested as filename when downloading.
darcs-hash:20090726175158-7ad00-969641a06ae1393a6d99207c3cd938fb67f23a71.gz
show more ...
|