Hi Yikai, Thanks you for reporting this bug. I was able to confirm it, and trying a few similar such buffers can also say this only appears to affect `markdown-mode'. I’ve prepared a patch that serves as a catch-all for this type of issue, but I’m not sure if this is the best approach. If other people could chime in that would be great :) All the best, Timothy