ajout de la partie slam dans le dossier web
This commit is contained in:
		
							
								
								
									
										19
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Linebreak.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Linebreak.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| <?php | ||||
|  | ||||
| namespace dokuwiki\Parsing\ParserMode; | ||||
|  | ||||
| class Linebreak extends AbstractMode | ||||
| { | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function connectTo($mode) | ||||
|     { | ||||
|         $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak'); | ||||
|     } | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function getSort() | ||||
|     { | ||||
|         return 140; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user