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)
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.
| Reporter | ||
Comment 1•15 years ago
|
||
fligtar: Where does the link go? Is there a mock
| Assignee | ||
Comment 2•15 years ago
|
||
(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.
| Reporter | ||
Comment 3•15 years ago
|
||
(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?
| Assignee | ||
Comment 4•15 years ago
|
||
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 | ||
Updated•15 years ago
|
Assignee: nobody → clouserw
Comment 5•15 years ago
|
||
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
| Assignee | ||
Comment 6•15 years ago
|
||
(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
| Assignee | ||
Comment 7•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
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
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•