We need to update the Loofah gem from 2.2.3 to 2.3.1 due to a vulnerability:
Post a new chapter of a work and make sure the chapter summary has all HTML stripped out of it in the subscription email (HTML version of the email)
Post a new work and make sure the work summary has all HTML stripped out of it in the subscription email (HTML version of the email)
Log in as a tag wrangler and post a comment on a tag that uses HTML. Then go to the Tag Wrangling discussion page at https://test.archiveofourown.org/tag_wranglings/discuss (if it loads on staging... it doesn't appear to want to for me) and make sure that when you hover over a table cell that links to a comment, the title that appears contains the full text of your comment, minus the HTML
Submit an abuse report that uses HTML, and make sure that when you are emailed a copy of the report, the plain text email does not include HTML
Posted chapter and the subscription email contained no HTML in the summary.
Posted work, no HTML in the subscription email summary.
Posted a comment, went to the page, HTML was not in there.
Sent an abuse report and checked the plain text email. There was no HTML – my bold tags were replaced with asterisks: I'm just making sure the *HTML* gets stripped in my emailed copy. Please close and have a nice day! I think that’s normal.
Note that subscriptions aren’t quite working properly on staging at the moment; someone will need to manually run bundle exec rake notifications:deliver_subscriptions to send the emails.
Abuse report does not contain html in plain text part.
/This is a summary/=0D
Lets try this=0D
Subscription email had no html in plan text version
Went to the wrangling page and the hover over was plain text.
Looks good to me.