View Issue Details

IDProjectCategoryView StatusLast Update
0024241mantisbtmarkdownpublic2024-04-02 16:45
Reporteratrol Assigned Todregad  
Status resolvedResolutionfixed 
Product Version2.12.1 
Target Version2.27.0Fixed in Version2.27.0 
Summary0024241: $g_html_valid_tags are not rendered if Markdown is enabled

This is a try to use one of the default $g_html_valid_tags (strong).

Some strong words

TagsNo tags attached.


has duplicate 0024292 closedatrol Formatting Bug Notes 
has duplicate 0024484 closedatrol Markdown quoting rendered with broken HTML seems not to be solved 
has duplicate 0024527 closedatrol The plugin MantisCoreFormatting does not work 
has duplicate 0024999 closeddregad Remove call to $Parsedown->setSafeMode(true) in MantisMarkdown.php 
related to 0024233 closedatrol Markdown quoting rendered with broken HTML 
related to 0024628 resolveddregad Double quotes " and lesser than sign < are shown as HTML entity within Markdown code blocks 
child of 0022180 new Markdown issues following implementation in 0017920 




2018-04-13 09:55

developer   ~0059565

Work-in-progress attempt to fix this issue can be found in PR

Testing and feedback would be welcome.

Related Changesets

MantisBT: master 3aec6e68

2024-03-31 23:15


Committer: dregad

Details Diff
Clean up markdown processing

- Process input via Markdownparser and return the result, no further
text processing.
- During parsing, catch all <code> blocks and replace them with a hash
- After the markup is returned from Parsedown, apply mentions and links
- Restore the untouched <code> Blocks back in place.

Fixes 0034040, PR
Also fixes 0022315, 0022320, 0024241, 0024628, 0024810, 0022231, 0023738

Signed-off-by: Damien Regad <>
Affected Issues
0022231, 0022315, 0022320, 0023738, 0024241, 0024628, 0024810, 0034040, 0034393
mod - plugins/MantisCoreFormatting/MantisCoreFormatting.php Diff File
mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php Diff File