Comment 5 for bug 1608194

Revision history for this message
Tim Schulz (timschulz91) wrote :

Fix intermittently but now breaks on search (after login).

I don't know how to submit a PR on launchpad, but adding a `or is None` on line 130 of `html.__init__.py` in `unescape()` fixed it. It now reads

```python
if '&' not in s or s is None:
    return s
return _charref.sub(_replace_charref, s)
```