added filter for converting apostrophes and quotes to smartquotes