View Issue Details

IDProjectCategoryView StatusLast Update
0022246mantisbtmarkdownpublic2019-05-28 04:19
Reporterjoel Assigned Tojoel  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.1.0 
Target Version2.2.1Fixed in Version2.2.1 
Summary0022246: Markdown is converting '&' signs to (ampersand[amp;]) inside code block or backtick as well
Description

Markdown is converting '&' signs to actual Entity Name inside the code block

Steps To Reproduce

& without backtick

& in backtick: &

&
TagsNo tags attached.

Relationships

related to 0024628 assigneddregad Double quotes " and lesser than sign < are shown as HTML entity within Markdown code blocks 
has duplicate 0022242 closeddregad Markdown converting '&' within links to '&' 
related to 0022315 assignedjoel Markdown converts " to " within code blocks and inline code 
related to 0022545 closeddregad Markdown still converting '& amp;' to & and '& lt;' to < 
child of 0022180 new Markdown issues following implementation in 0017920 

Activities

Related Changesets

MantisBT: master-2.2 06d744ed

2017-02-24 21:42:58

Joel C. Llano


Committer: dregad Details Diff
Fix markdown converting '&' signs to '&'

This happens inside the code block and 'a' inline element

Moved logic removing the html entity '&' from
MantisCoreFormattingPlugin into MantisMarkdown Extention and added
comments to explain the custom logic method.

Fixes 0022246

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0022246
mod - plugins/MantisCoreFormatting/MantisCoreFormatting.php Diff File
mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php Diff File