code: def test_escaped_attr(self):
      self.assertMarkdownRenders(
          '![x"x](x)', '<p><img alt="x&quot;x" src="x" /></p>'
      )
  
file_path: markdown/tests/test_syntax/extensions/test_smarty.py
imports: from markdown.test_tools import TestCase
label_desc: Use image node_id 5 for calling the TestSmarty obj's underlying member method code with example usage: obj.test_escaped_attr() without return types