UEWBot / dipvis

Django-based visualiser for tournaments for the boardgame Diplomacy
GNU General Public License v3.0
7 stars 5 forks source link

Board call email including Austria in hyperlinked text to Backstabbr games #223

Closed jasonmastbaum closed 2 years ago

jasonmastbaum commented 2 years ago

Screenshot_20220429-221210_Gmail

jasonmastbaum commented 2 years ago

It's also putting Austria-Hungary at the end of all the Backstabbr links, e.g. https://www.backstabbr.com/sandbox/Whipping-1A-Redwood/5712357552291840Austria-Hungary

UEWBot commented 2 years ago

The actual email has the backstabbr URL on one line and "Austria-Hungary" on the next - there's no actual HTML link as such. Gmail is figuring out the URL and creating the link. I guess it strips the '\n' and looks for a character that can't be part of a URL, which is a little odd because '\n' can't be part of a URL :-) Maybe we can add a trailing space after the notes or to indent all the powers...