just tried to insert an example of code in a bug report. No matter what suggested method to suppress rendering HTML markup, the markup was still applied:
We don’t have markdown enabled in the bug tracker.
I seem to remember that this has been discussed before. There are a few formatting options available in Mantis BT including Markdown, DocuWiki and BBCode. We currently only have the basic formatting options enabled.
Markdown is probably the most sensible option. I think that enabling it will affect all notes including existing ones.
The marking method is invisible. What code block tagging did you use? I’d like to try it with my lower rights on 13870.
(And, although unlikely, it is possible that the different form sections have different restrictions. So I’d like to test in the Description, Steps to Reproduce, Addition Information and Add Note sections.)
The triple backticks are being recognized now. Thanks for whatever was changed.
But MantisBT is still doing something wonky. I cannot get this particular report to stop converting < to < and double quotes being converted to "
I do not know what the others think but… we’ve survived decades of MantisBT with minimal markup. It doesn’t seem like we need fancy ‘styling’… just screen captures, code inclusions attachments, and links.
There has been a change to MantisBT on/about May 30, 2025.
Was it the intention to disable the use of HTML tags to markup text?
The use of HTML within Mantis text regions has apparently been disabled.
I wonder if there was some change to:
file mantisbt/config_defaults_inc.php
lines used to be:
$g_html_valid_tags = ‘p, li, ul, ol, br, pre, i, b, u, em, strong’;
$g_html_valid_tags_single_line = ‘i, b, u, em, strong’;
Recently reported bugs with calls stacks have strange formatting, some of which can be ignored, e.g. large heading style for sections. However, the problematic formatting is with call stacks - part of the call stack is often in a quoted block, and often the last line(s) of the call stack get merged into the formatted block for system info.
This makes it difficult to read call stacks, and very it is very easy to miss parts of the call stack when trying to copy-and-paste it outside Mantis for easier readability.
I’m late to the game as others have already reported this. There seem to be many people with specific requests on this topic and I don’t want to add any more, as long as whatever markup method is chosen results in simple and clean bug reports, including the callstack.
Also, I see that the examples but reports I shared have been cleaned up. Thanks, @Nick-Hall
Yes. I listed the different options available, and finally decided to enable markdown since I think that most people will be familiar with it to some extent.