View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022315 | mantisbt | markdown | public | 2017-02-04 09:49 | 2022-05-10 09:19 |
Reporter | uxmaster | Assigned To | joel | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 2.1.1 | ||||
Summary | 0022315: Markdown converts " to " within code blocks and inline code | ||||
Description | This is caused by noncooperation between "Markdown Processing" and "Text Processing". | ||||
Steps To Reproduce | " in normal text " in inline code " in code block
| ||||
Tags | No tags attached. | ||||
related to | 0022246 | closed | joel | Markdown is converting '&' signs to (ampersand[amp;]) inside code block or backtick as well |
related to | 0024628 | assigned | dregad | Double quotes " and lesser than sign < are shown as HTML entity within Markdown code blocks |
has duplicate | 0022407 | closed | atrol | Quotes in markdown |
related to | 0024810 | confirmed | Markdown links/code always show HTML entities for Ampersand and Less-than sign | |
child of | 0022180 | new | Markdown issues following implementation in 0017920 |
Confirmed, seeing this as well |
|
This has been addressed already with this PR https://github.com/mantisbt/mantisbt/pull/1007 |
|
This one is really annoying, can't copy/paste code snippets anymore without having to manually replace |
|
This is not a bug in upstream, the bug is due to that Text processing process the text from the start:
And this is the PR https://github.com/mantisbt/mantisbt/pull/1007 |
|
@joel Which version of the MantisBT download do I use that has this fix? |
|
@ajtruckle this is an open PR, so there is no version you can download at the moment. |
|
Recent activity: https://github.com/mantisbt/mantisbt/pull/1332 |
|
This is still an issue on brand new installations of Mantis as of November 2021. There's a plugin called Imatic Mantis Formatting that's supposed to fix the issue, but it's meant to replace the native Mantis formatting plugin, and it requires PHP 7.4 and Composer. I was running PHP 7.1 so I wrote a simpler plugin that just run alongside the native one and patches the problem. Here: OT Mantis Markdown Fixer. Hope that helps someone. |
|