Normalize HTML by removing the temporary file's directory path.
(html: str, temp_file: str)
| 124 | |
| 125 | |
| 126 | def _normalize_html_path(html: str, temp_file: str) -> str: |
| 127 | """Normalize HTML by removing the temporary file's directory path.""" |
| 128 | dirname = path.dirname(temp_file) |
| 129 | return html.replace(dirname, "path") |
| 130 | |
| 131 | |
| 132 | class TestExportHTML: |
no test coverage detected
searching dependent graphs…