Skip to content

Commit

Permalink
Use new 'html' hint for Simplemarkup filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Feb 12, 2015
1 parent 3288964 commit c925a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imp/lib/Mime/Viewer/Plain.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ protected function _impRender($inline)

// Highlight simple markup of an email.
if ($prefs->getValue('highlight_simple_markup')) {
$filters['simplemarkup'] = array();
$filters['simplemarkup'] = array('html' => true);
}

// Dim signatures.
Expand Down
2 changes: 1 addition & 1 deletion whups/lib/Form/Renderer/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function render($transaction, &$vars)
array('text2html', 'simplemarkup', 'highlightquotes'),
array(
array('parselevel' => Horde_Text_Filter_Text2html::MICRO),
array(),
array('html' => true),
array('hideBlocks' => true)));
if ($prefs->getValue('autolink_tickets') &&
$conf['prefs']['autolink_terms']) {
Expand Down

0 comments on commit c925a15

Please sign in to comment.