diff options
author | andi <andi@splitbrain.org> | 2005-04-29 14:05:48 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-04-29 14:05:48 +0200 |
commit | 702eb8985f33ca5781d2da5cedd9d6a4b9c6a030 (patch) | |
tree | b265b5594d3b9c0648a3ffe8a2af79f49d7e5f47 /inc/parser/parser.php | |
parent | 3fd0b6768bf7f649d77c937e399f578d7add7637 (diff) | |
download | rpg-702eb8985f33ca5781d2da5cedd9d6a4b9c6a030.tar.gz rpg-702eb8985f33ca5781d2da5cedd9d6a4b9c6a030.tar.bz2 |
allow blockmodes in lists
darcs-hash:20050429120548-9977f-048855b3101e9f104e9fb826ad35042fa8d4c176.gz
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r-- | inc/parser/parser.php | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 52d957b09..ac1830a23 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -87,12 +87,14 @@ class Doku_Parser { //------------------------------------------------------------------- /** -* This class and all the subclasses below are -* used to reduce the effort required to register -* modes with the Lexer. For performance these -* could all be eliminated later perhaps, or -* the Parser could be serialized to a file once -* all modes are registered + * This class and all the subclasses below are + * used to reduce the effort required to register + * modes with the Lexer. For performance these + * could all be eliminated later perhaps, or + * the Parser could be serialized to a file once + * all modes are registered + * + * @author Harry Fuecks <harryf@gmail.com> */ class Doku_Parser_Mode { @@ -316,10 +318,14 @@ class Doku_Parser_Mode_ListBlock extends Doku_Parser_Mode { Doku_Parser_Substition(), Doku_Parser_Disabled() ); + $this->allowedModes[] = 'footnote'; $this->allowedModes[] = 'preformatted'; $this->allowedModes[] = 'unformatted'; - + $this->allowedModes[] = 'html'; + $this->allowedModes[] = 'php'; + $this->allowedModes[] = 'code'; + $this->allowedModes[] = 'file'; } function connectTo($mode) { |