Updated to allow MD5 tagging across newlines