Fix message format parsing

Encountering a format char when the format is already applied cancels it
Merge pull request #15 from bendem/dev

Fix message format parsing