fix format erb file error when content has non-ascii characters
Merge pull request #70 from zhaoyk/master

fix format erb file error when content has non-ascii characters