SOBotics / FireAlarm

A Stack Exchange chatbot to catch low-quality posts.
https://bonfire.sobotics.org
MIT License
14 stars 8 forks source link

Remove trailing backslashes from question titles #22

Closed ArcticEcho closed 6 years ago

ArcticEcho commented 6 years ago

Today we had a report where the question's title ended with a backslash (\), this caused the link markdown to be escaped and thus broke the link:

[ FireAlarm-Swift ] [tag:php] Potentially bad question Undefined index: files in C:\

The question's title:

Undefined index: files in C:\

Sadly it seems you can't escape backslashes in chat, so they will have to be removed.

double-fault commented 6 years ago

Should be fixed. I couldn't find a post with a trailing backslash and the report specified has been deleted. At least the change doesn't wreck reports without a backslash. Thanks for reporting this!