Now detects code blocks and attachments in posts.
Start of an experiment using the DOM