refs: #12 Use strip to remove newlines.
refs: #12 Use trim instead of strip.
refs: #11 Put in some replace filters too.

@15m