-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
No response
Bug description
When adding a title that is only a number like:
---
tags:
- 1234
---
in the header, then material/plugins/tags/plugin.py
line 149 in _render_tag_index
errors out in the sorted(self.tags.items())
part because for some reason I was not able to figure out it did convert the key part to an int and thus python complains about the inability to compare ints and strings.
Related links
Reproduction
Just add a number only as the title to any project that is using tags.
Steps to reproduce
Just add a number only as the title to any project that is using tags.
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open