fixed bugs on bold/italic parser