Skip to content

Commit

Permalink
Fixes markdown formating for notes column
Browse files Browse the repository at this point in the history
The 3 dashes marked the notes above it as a markdown header.  Fix is to use `=-=` instead.

Fixes #22867
  • Loading branch information
vboctor committed May 18, 2017
1 parent d83c14a commit a64a0d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/bugnote_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,9 @@ function bugnote_get_all_visible_as_string( $p_bug_id, $p_user_bugnote_order, $p
$t_note_string .= "\n" . $t_note->note . "\n";

if ( !empty( $t_output ) ) {
$t_output .= "---\n";
# Use a marker that doesn't confuse markdown parser.
# `---` or `===` would mark previous line as a header.
$t_output .= "=-=\n";
}

$t_output .= $t_note_string;
Expand Down

0 comments on commit a64a0d2

Please sign in to comment.