fix page width when paragraph is direct child
refactor one paragraph test
fix error handling in xml parser
update changelog
update version