32

Clicking the "Edit" link on a post when a pending suggested edit has already been approved results in this toast:

This pending edit has already been approved/rejected.<br>Please refresh the page to see any changes.

The HTML should not be escaped.

Prior art:

10
  • 16
    That title is <br>illiant
    – zcoop98
    Apr 14 at 15:07
  • 3
    “Goes br” - I see what you did here
    – nicael
    Apr 14 at 15:08
  • 10
    I'm going to edit the cute title temporarily because I think it's causing our automation to fail to pull this into Jira.
    – Catija StaffMod
    Apr 14 at 16:12
  • 10
    Seems to have been the issue - re-editing the title hasn't caused the Zap to be triggered a second time (in general, title edits of a status-review post do cause multiple tickets for the same post). Not sure whether it's Zapier or Jira but probably good to know that some HTML in titles can cause something to fail. :)
    – Catija StaffMod
    Apr 14 at 16:37
  • 3
    @Catija It's almost surely Zapier; Jira has supported HTML tags in bug reports for years, at least.
    – TylerH
    Apr 14 at 18:58
  • 2
    Hmmm strange these tools don't take this as just a plain-text field. I can't think of any case where it would be helpfull to have html inside a title render.
    – Luuklag
    Apr 14 at 22:52
  • 2
    When you want to have links, @Luuklag. There are several notification pop-ups that use them.
    – Cody Gray
    Apr 15 at 5:10
  • 1
    @Luuklag well they should give hackers some hope, right? So allowing HTML where plain text usually expected is a good way. ;) Apr 15 at 8:50
  • @CodyGray why would you want a link from within the title? I was hinting at the Tools SE uses for their backlog tracking.
    – Luuklag
    Apr 15 at 11:48
  • Re "...any case where it would be helpful to have HTML inside a title render": Related: MathJax in titles Apr 18 at 9:37

1 Answer 1

11

Thanks for the report!

The issue has been fixed, and the fix is live in production now.

1
  • 9
    Prod build goes brr
    – Spevacus
    May 19 at 21:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .