Skip to content

Commit 2ae93f9

Browse files
committed
chore: update changelog and bump version to 1.5.1
1 parent 627faa4 commit 2ae93f9

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.5.1] - 2026-05-11
9+
10+
### Fixed
11+
12+
- MathJax config escaping: reverted quadruple backslash (`\\\\(`) so JS receives correct `\(` delimiter
13+
- Split math expression merge regex: replaced inline replacement string with callback function that checks `group3.strip()` to avoid creating trailing space before closing `$`, which broke `pymdownx.arithmatex` delimiter detection
14+
- `_replace_common_latex_commands_in_text`: skip `<span class="arithmatex">` nodes so fallback LaTeX→Unicode conversion doesn't strip `\(` and `\)` delimiters needed by MathJax
15+
16+
### Changed
17+
18+
- Image caption detection: `<em>` wrapping a link is now treated as italic text, not an image caption (consistent with `_is_image_caption_paragraph`)
19+
820
## [1.4.2] - 2026-04-19
921

1022
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "md2html-tailwind4"
7-
version = "1.5.0"
7+
version = "1.5.1"
88
description = "A Python package that converts Markdown to HTML using Tailwind CSS 4 for styling."
99
authors = [
1010
{ name = "White Neuron Co., Ltd.", email = "contact@whiteneuron.com" },

0 commit comments

Comments
 (0)