etree and AtomicString have been moved to markdown.util in newer
versions of markdown