Compiled from ed1a2b3 - Fix the bug that ‘“’ at the end of title is not stripped