fix a bug in protexttextext()
update doc
Merge pull request #17 from dohyunkim/master

fix a bug wrt mp code parsing