Closed Bug 620414 Opened 15 years ago Closed 15 years ago

Show "Some HTML allowed" on PurifiedFields

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
5.12.6

People

(Reporter: jbalogh, Assigned: clouserw)

Details

It looks like a link that says "Some HTML Allowed". When you click it turns into "Allowed HTML: <a href title> <abbr title> <acronym title> <b> <blockquote> <code> <em> <i> <li> <ol> <strong> <ul>" See it in action at https://addons.allizom.org/en-US/developers/addon/edit/2848/descriptions. Adding some data- attribute to PurifiedField widgets is the right way to fix this. If that seems like a lot of trouble, adding this manually to the right fields in the template is ok, but you will be responsible for doing it right later on.
fligtar: Where does the link go? Is there a mock
(In reply to comment #1) > fligtar: Where does the link go? Is there a mock Which link? Clicking it changes the link into the list of allowed HTML - there should be no links to other pages.
(In reply to comment #1) > fligtar: Where does the link go? Is there a mock Where should the link be placed on the page? Is there a mock?
It shows up on http://people.mozilla.com/~chowse/drop/amo/devtools/v3/addon_submission/03_description.png. We can use the simple popup if it looks good here, instead of writing more JS.
Assignee: nobody → clouserw
if you look at the edit profile page, the bio field has an example of this that is non-JS and was, at the time, fligtar approved https://github.com/jbalogh/zamboni/blob/master/apps/users/templates/users/edit.html#L147
(In reply to comment #5) > if you look at the edit profile page, the bio field has an example of this that > is non-JS and was, at the time, fligtar approved > > https://github.com/jbalogh/zamboni/blob/master/apps/users/templates/users/edit.html#L147 Aww. I like my version better
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified FIXED; shows up and works on: * Add-on Details' "Description" field * Technical Details' "Developer Comments" field * Developer Profile fields * Privacy Policy field * EULA field
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.