Page 1 of 1

Markdown formatting for version descriptions

Posted: 01 May 2017, 16:29
by palevi
I have been using markdown formatting for several days now, and rather happy with it, except for version descriptions in roadmap and changelog. I have tried to achieve this through config/custom_functions_inc.php file, but it seems to me this can't be done this way.What do you think about mantisbt supporting markdown formatting for version descriptions?

Re: Markdown formatting for version descriptions

Posted: 03 May 2017, 17:20
by palevi
Just in case someone is interested, simply change

Code: Select all

echo '<div class="alert alert-warning">', string_display( "$t_description" ), '</div>';
to

Code: Select all

echo '<div class="alert alert-warning">', string_display_links( "$t_description" ), '</div>';
in roadmap_page.php and changelog_page.php

cheers!