View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024612 | mantisbt | markdown | public | 2018-07-16 07:45 | 2018-08-08 17:15 |
Reporter | intuity | Assigned To | atrol | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 2.15.0 | ||||
Summary | 0024612: Markdown blockquote styling is detected as bug number and link breaks layout | ||||
Description | If you submit a bugnote using Markdown styling with a prefix of a greater than symbol '>' at the beginning of the line, it is converted into a blockquote. The blockquote contains styling of 'color:#777;' - this hex colour reference is converted into a bug link, in the middle of the blockquote's style="..." - which destroys the layout (see attached image). My temporary workaround for this is to modify 'string_api.php' line 382 from:
to become:
Adding the extra exclusion of ':' means that it won't pickup CSS attributes closely spaced to the '#' - but this obviously is not a good fix as it is vulnerable to changes, and restricts how a bug can be referred to. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
To demonstrate:
...doesn't seem to work on this bugtracker but I can recreate it on several other installs... |
|
I thought I implemented a workaround for it https://github.com/mantisbt/mantisbt/commit/88913cb3cb2118fcdada4b5f95bd7bf40f4b155b I don't have time for a deeper look at the moment. |
|
intuity, You did not provide any feedback; I am therefore resolving this issue as "no change required". Feel free to reopen the issue at a later time and provide the requested information. |
|
Apologies, I missed the email notification of your response. I believe you're right, we have multiple installs and now I've checked I must have made an error. |
|
Thanks for providing feedback. |
|