Litedown: slightly reworked the block elements' internal logic. No functional change intended