(self, title_raw: str)
| 142 | return md.strip() |
| 143 | |
| 144 | def clean_title(self, title_raw: str) -> str: |
| 145 | t = re.sub(r"<[^>]+>", "", title_raw) |
| 146 | t = t.replace("&", "&").replace("–", "-") |
| 147 | t = t.replace("&", "&").replace("…", "...") |
| 148 | t = t.replace("—", "--").replace(" ", " ") |
| 149 | return t.strip() |
| 150 | |
| 151 | def slugify(self, text: str) -> str: |
| 152 | text = text.lower() |
no outgoing calls
no test coverage detected