Closed Bug 1286330 Opened 9 years ago Closed 6 years ago

Text inside <> is dropped from issues list

Categories

(MozReview Graveyard :: Review Board: User Interface, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jrmuizel, Unassigned)

Details

Attachments

(1 file)

On this page: https://reviewboard.mozilla.org/r/59866/#issue-summary The issue summary says: This should return Maybe instead of This should return Maybe<js::Scalar::Type>
the text is displaying correctly for me, and i can't reproduce this locally (with or without markdown). does it always look incorrect to you even after a page refresh?
Flags: needinfo?(jmuizelaar)
Attached image out.png
Yeah, I can reproduce. Here's what it looks like.
Flags: needinfo?(jmuizelaar)
ah - thanks for the screenshot that helps a lot. sorry, i was looking at a different part of the page. i see the same thing. thankfully this isn't an xss issue; the html element-like text is not present in the generated html.
Probably due to the "striptags" this to line 61 in `\version-control-tools\reviewboard-fork\reviewboard\reviewboard\templates\reviews\review_issue_summary_table.html`: `<span class="issue-text">{{comment.text|render_markdown:comment.rich_text|striptags|truncatewords:20}}</span></a>` What is a good replacement?
MozReview is now obsolete. Please use Phabricator instead. Closing this bug.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: