PJB3005 / MoMMI

Old SS14 Discord server bot.
MIT License
12 stars 29 forks source link

Remove HTML-Comments #22

Closed PaulRitter closed 5 years ago

PaulRitter commented 5 years ago

HTML Comments are irrelevant in embedded Issues and PR and basically just push out the actual content when someone forgets to remove them.

This adds format_desc, which is called on every embedded github description, so you can add formatting later on if needed.

I also noticed you already did this in one function, but you used sub, which - if i read the docs correctly - only removes the first instance. hence i am using subn

I too moved shortening into format_desc

PaulRitter commented 5 years ago

is travis broken or did i fuck up? cause i am not finding the error

PJB3005 commented 5 years ago

Oh Travis is absolutely broken.