-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Task]: Support markdown in add-on listing fields #15145
Comments
FWIW this is used in the main card on an add-on detail page, and I think it makes sense to have a "raw" string there, otherwise that might change how detail pages look. Also, what markup are we talking about? We do support some html tags in some other fields but "straight HTML tags should no longer be allowed in any add-on fields" makes me think that we're more thinking about markdown than markup? Or is this a new thing? |
@willdurand, Markdown support more frequently than not includes support for a significant subset of HTML5. That is part of its popularity – it is in most situations to HTML as YAML is to JSON. Consequently, I would say that there is no need to prevent an author using basic HTML5 tags, like |
I definitely meant mark_down,_ not mark_up_. I'll edit the ticket. |
Notes:
|
@abyrne-moz When you say 'summary', do you mean the add-on description? The fields that expect HTML on the Addon model are: Should |
Excellent spot, it should be the I'll update the description with the correct field too. |
I looked a bit on the new markdowns in all fields and wfm except for abbreviations and filed #15316 ✔️ Tried all mentioned fields for https://addons-dev.allizom.org/en-US/firefox/addon/bun-la-toate/ ✔️ Blockquotes on frontend doesn't look as in rev tools pages (where I think it's the correct layout) -> for the same addon https://reviewers.addons-dev.allizom.org/en-US/reviewers/review/635484 but that's reproducible on stage atm too, for example developer comments versus reviewer page for https://addons.allizom.org/en-US/firefox/addon/install-and-report/ ❓ |
@Juraj-Masiar thanks for catching that, could you file a new bug with that information ? |
Reported: #15425 |
Description
Support markdown in various add-on listing fields to make it easier for add-on users to absorb information. The fields should include:
summarydescriptionOnce this feature is enabled, straight HTML tags should no longer be allowed in any add-on fields. Existing HTML already existing in these fields before the feature is enabled should be unaffected and still render as before.
Acceptance Criteria
Milestones/checkpoints
Checks
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: