tests for special tags need to pass the collapseWhitespace: true options
images are a special case