Closed Bug 1404754 Opened 8 years ago Closed 8 years ago

HTML in theme descriptions is displayed raw in Addons Manager

Categories

(Toolkit :: Add-ons Manager, defect)

57 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 679633

People

(Reporter: bvanoudtshoorn, Unassigned)

Details

Attachments

(2 files)

Attached image Themes summary view
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20170925150345 Steps to reproduce: Install a theme which includes basic HTML (as allowed by AMO) in its description; for example, https://addons.mozilla.org/en-US/firefox/addon/colours-in-bokeh/. Then load the Addons Manager and navigate to themes. Actual results: The HTML is displayed "raw" (that is, as the string itself) in both the summary view and in the details view for the theme. See the attached screenshots. Expected results: The HTML should either be displayed as expected, or it should be stripped so that only the text content is displayed.
Attached image Details view
Component: Untriaged → Add-ons Manager
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
I think that 679633 may be invalid now, as comments in there note that the addons manager _strips_ HTML -- which isn't happening any more. Whilst accepting HTML (as per 679633) would resolve the issue outlined here, I think that simply restoring HTML stripping would _also_ resolve this one -- and probably be a bit simpler and safer to implement. (Although I, of course, have no idea how complex that is within this context!)
Flags: needinfo?(aswan)
Sorry for the delayed response, but this is about lightweight themes, which are in the process of being replaced with a new format with packaging based on webextensions. In the mean time, stripping HTML from the description would have to happen on AMO, you can file an AMO bug at https://github.com/mozilla/addons about that if you like...
Flags: needinfo?(aswan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: