Closed simonw closed 3 years ago
I'm going to rewrite those <a href="#filtering-tables">
links to <a href="#user-content-filtering-tables">
- but only if a corresponding id="user-content-filtering-tables"
element exists.
I don't want to add a full HTML parser (like BeautifulSoup) as a dependency for this feature. Since the HTML comes from a single, trusted source (GitHub) I could probably handle this using regular expressions.
From https://github.com/simonw/datasette.io/issues/46
So this is a bug in GitHub's API, but we need to work around it.