Refactoring of parser was done. Fixes parsing headlines within quote and center blocks.