View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0024810||mantisbt||markdown||public||2018-09-26 09:11||2020-08-18 07:46|
|Summary||0024810: Markdown links/code always show HTML entities for Ampersand and Less-than sign|
When activating Markdown in the Formatterplugin
|Tags||No tags attached.|
|related to||0024240||closed||dregad||XML in Markdown Code ist not rendered correct|
|related to||0024628||assigned||dregad||Double quotes " and lesser than sign < are shown as HTML entity within Markdown code blocks|
|has duplicate||0025405||closed||dregad||Links on summary, notes, and Details converted to other chars|
|has duplicate||0026616||closed||atrol||URLs are translated to HTML when Markdown is enabled|
As you can see the link contains & amp ; instead if the &.
Same if I replace the ampersand by the related HTML entity
which should be the correct way according to Markdown specs.
Is there any chance of getting this fixed in the foreseeable future?
@c_schmitz this is quite complicated and I unfortunately do not have the enough spare time to spend on this.
You can have a look if the problem is addressed by work-in-progress PR https://github.com/mantisbt/mantisbt/pull/1332 but I'm not sure it is because IIRC I was stuck with fixing URLs when I stopped working on that.
there is alternative markdown plugin now: https://github.com/Imatic-IT/imatic-mantis-formatting
@nenadalm, thanks for proposing a plugin.
It relies on the PHP League's CommonMark library, which I actually considered switching to as an alternative to Parsedown, but unfortunately it requires PHP 7.2.5 and MantisBT still has a minimum of 5.5.0 (note that is planned to change, see 0025956) so we can't use it at the moment.
You should therefore advertise that the plugin has higher requirements than Core MantisBT.
|2018-09-26 09:11||c_schmitz||New Issue|
|2018-09-26 09:13||c_schmitz||Note Added: 0060697|
|2018-09-26 11:32||atrol||Relationship added||related to 0024240|
|2018-09-26 11:32||atrol||Status||new => confirmed|
|2019-05-23 04:51||c_schmitz||Note Added: 0062117|
|2019-05-28 04:28||dregad||Relationship added||related to 0024628|
|2019-05-28 04:30||dregad||Note Added: 0062148|
|2019-05-28 04:32||dregad||Relationship added||has duplicate 0025405|
|2020-01-21 10:38||atrol||Relationship added||has duplicate 0026616|
|2020-08-17 05:17||nenadalm||Note Added: 0064266|
|2020-08-17 06:04||dregad||Note Added: 0064267|
|2020-08-18 07:46||dregad||Note Edited: 0064267||View Revisions|