View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026726 | mantisbt | other | public | 2020-02-19 06:16 | 2020-03-10 17:23 |
Reporter | Wma | Assigned To | dregad | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Product Version | 2.23.0 | ||||
Summary | 0026726: Question: Is it possible to insert a link in a notice? | ||||
Description | Is it possible to insert a link in a Mantis notice that works in a browser? If I insert a link like the screenshot. It do nothing. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
this feature doesn't exist. |
|
Not sure I fully understand what you want to do. Mantis lets you type an URL and will turn it into a hyperlink e.g. http://example.com (unless corresponding URL Processing feature from MantisCoreFormatting plugin is turned off). What it cannot do is interpret an URL and automatically upload the linked file as an attachment. |
|
I know that I can upload a file (e.g. PDF). I also use the link via http:\xxx to access other URLs. This all works correctly. Clicking the link will fetch and display the file or open the directory. (As in Outlook via CTRL key). |
|
The problem is that the Parsedown library we use to process Markdown, does not hyperlink Since modifying the library's code is not something we would do, this is not fixable. You can try to change the regex in your installation, i.e. update line 1410, like so:
A slightly cleaner, but more complex solution would be to override the inlineUrl() method in the MantisMarkdown class. Note that these are just suggestions, and is not supported. Do it at your own risk. If you're not using it, you could also consider disabling Markdown processing (in MantisCoreFormatting plugin options), as the legacy MantisBT code to process URLs does support |
|