Fix the formatting-stripping regex, thanks to @justJanne