continue
This commit is contained in:
Regular → Executable
File diff suppressed because it is too large
Load Diff
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
require_once 'Parsedown.php';
|
||||
|
||||
class ParsedownExtra extends Parsedown {
|
||||
protected function blockQuote($Line) {
|
||||
if (preg_match('/^�\s+/', $Line['text'])) {
|
||||
return array(
|
||||
'element' => array(
|
||||
'name' => 'div',
|
||||
'attributes' => array('class' => 'dialogue'),
|
||||
'text' => ltrim($Line['text'], '� ')
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
return parent::blockQuote($Line);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user