code: def test_can_toggle_raw_html_code_parsing(self):
      test_posts = list(self.posts)
  
      def r(f):
          with open(f, encoding="utf-8") as infile:
              return infile.read()
  
      silent_f2p = mute(True)(fields2pelican)
  
      with temporary_folder() as temp:
          rst_files = (
              r(f) for f in silent_f2p(test_posts, "markdown", temp)
          )
          self.assertTrue(any("<iframe" in rst for rst in rst_files))
          rst_files = (
              r(f)
              for f in silent_f2p(
                  test_posts, "markdown", temp, strip_raw=True
              )
          )
          self.assertFalse(any("<iframe" in rst for rst in rst_files))
          # no effect in rst
          rst_files = (
              r(f) for f in silent_f2p(test_posts, "rst", temp)
          )
          self.assertFalse(any("<iframe" in rst for rst in rst_files))
          rst_files = (
              r(f)
              for f in silent_f2p(
                  test_posts, "rst", temp, strip_raw=True
              )
          )
          self.assertFalse(any("<iframe" in rst for rst in rst_files))
  
imports: import os
  import re
  from posixpath import join
  from unittest.mock import patch
  from pelican.settings import DEFAULT_CONFIG
  from pelican.tests.support import mute, skipIfNoExecutable, temporary_folder, unittest, TestCaseWithCLocale
  from pelican.tools.pelican_import import blogger2fields, build_header, build_markdown_header, decode_wp_content, download_attachments, fields2pelican, get_attachments, tumblr2fields, wp2fields
  from pelican.utils import path_to_file_url, slugify
label_desc: Use image node_id 11 for calling the TestWordpressXmlImporter obj's underlying member method code with example usage: obj.test_can_toggle_raw_html_code_parsing() and returns: infile