fixed a bug: trailing spaces enclosed in Strikethrough tags(~~) should be removed.