Hacker News new | ask | show | jobs
by rjmunro 2523 days ago
That code doesn't match what actually happens. It will only trim a single character. Have asterisks been trimmed in your copy-paste or something?
1 comments

Ah you're right, the asterisks have been interpreted as italics. Can't edit my comment, sorry

Here's a paste: https://pastebin.com/kBHprdyj