Skip to content

Commit

Permalink
Ensure font for quoted string in markdown is not too large
Browse files Browse the repository at this point in the history
- remove setting of style from global to element specific

Fixes #22164
  • Loading branch information
jllano authored and vboctor committed Jan 14, 2017
1 parent fd79aaa commit af38e69
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/MantisCoreFormatting/core/MantisMarkdown.php
Expand Up @@ -68,9 +68,6 @@ public function __construct() {

# set the table class
$this->table_class = 'table table-nonfluid';

# set the border color of blockquote
$this->inline_style = 'border-color:#847d7d';
}

/**
Expand Down Expand Up @@ -197,7 +194,8 @@ protected function blockTableContinue( $line, array $block ) {
private function __quote( $line, $block, $fn ) {

if( $block = call_user_func( 'parent::' . $fn, $line, $block ) ) {
$block['element']['attributes']['style'] = $this->inline_style;
# set mantis style
$block['element']['attributes']['style'] = 'border-color:#847d7d;font-size:13px;';
}

return $block;
Expand Down

0 comments on commit af38e69

Please sign in to comment.