(self, c: str)
| 922 | return "" |
| 923 | |
| 924 | def entityref(self, c: str) -> str: |
| 925 | if not self.unicode_snob and c in config.UNIFIABLE: |
| 926 | return config.UNIFIABLE[c] |
| 927 | try: |
| 928 | ch = html.entities.html5[c + ";"] |
| 929 | except KeyError: |
| 930 | return "&" + c + ";" |
| 931 | return config.UNIFIABLE[c] if c == "nbsp" else ch |
| 932 | |
| 933 | def google_nest_count(self, style: Dict[str, str]) -> int: |
| 934 | """ |