Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ icon: lucide/scroll-text
---
# Changelog

## 10.21.1

- **FIX**: Highlight: Latest Pygments versions cannot handle a "filename" for code block titles of `None`.

## 10.21

- **NEW**: Caption: Add support for specifying not only IDs but classes and arbitrary attributes. Initial work by
Expand Down
2 changes: 1 addition & 1 deletion pymdownx/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,5 @@ def parse_version(ver: str) -> Version:
return Version(major, minor, micro, release, pre, post, dev)


__version_info__ = Version(10, 21, 0, "final")
__version_info__ = Version(10, 21, 1, "final")
__version__ = __version_info__._get_canonical()
2 changes: 2 additions & 0 deletions pymdownx/highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ def highlight(
title = self.auto_title_map.get(name, name)
if title:
title = title.strip()
if title is None:
title = ''

# Setup formatter
html_formatter = InlineHtmlFormatter if inline else BlockHtmlFormatter
Expand Down
Loading