Markdown formatting for version descriptions

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
palevi
Posts: 2
Joined: 01 May 2017, 15:58

Markdown formatting for version descriptions

Post 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?
palevi
Posts: 2
Joined: 01 May 2017, 15:58

Re: Markdown formatting for version descriptions

Post 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!
Post Reply