View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035539 | mantisbt | webpage | public | 2025-03-05 11:55 | 2025-03-18 12:05 |
Reporter | raspopov | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0035539: URL in the Summary field | ||||
Description | It is possible to insert a URL (link, email or using a markdown) to a summary field of an issue. Is this intended? If so, then it produces invalid HTML of nested | ||||
Steps To Reproduce | Create an issue with, for example, email in the summary. | ||||
Additional Information | The Summary field is printed using string_display_line_links() function. | ||||
Tags | No tags attached. | ||||
I'm not sure what the original intent was to be honest. But it does mess up the display in My View, View Issues, etc. In my opinion, we should not allow any formatting (html, markdown) or replace links in the Summary - it should be plain text. |
|
URLs in summary of Azure DevOps work items are plain text / links to the work item in work item list views and in the single work item view.
So this seems to be the typical approach. |
|
Alternatively, we can leave this as is, as a feature and cleverly insert a link only up to the first occurrence of '<a ' in the formatted text. |
|
Or drop the links, i.e. call string_attribute() instead of string_display_line_links() on the summary when it's displayed as a link ? For the record: |
|