fixing mdash decode
using inline diffs for test