Open Bug 1930321 Opened 1 year ago Updated 1 year ago

Accept more safe HTML tags in post and comment content at Connect.

Categories

(Websites :: connect.mozilla.org, enhancement)

Production
x86_64
Linux
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: beedell.roke_julian_lockhart, Unassigned)

References

()

Details

Environment

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0

Steps to reproduce

I added <blockquote> and (inline) <code> tags to content.

Actual results

There was no initial indication that these would not be permitted, until I saved the content. Then, the undermentioned appeared:

Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied.

Although the <blockquote> tags initially remained within the content subsequent to the refresh that displayed that message, the <code> tags were immediately redacted, with no way to recover the content.

When I saved the edited content to be submitted to the moderators for approval, the <blockquote> markup was silently redacted.

Expected results

Basic formatting, like <blockquote> and <code> should be supported. The latter, especially so, since <pre> is!

URL: https://connect.mozilla.org/t5/ideas/...
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: Expand the amount of valid HTML tags. → Accept more safe HTML tags in post and comment content at Connect.
You need to log in before you can comment on or make changes to this bug.