Skip to content

Conversation

chrispy-snps
Copy link
Collaborator

Fixes #199.

Newlines are now inserted as follows:

  • Before and after <dl> tags
  • Before <dt> tags

The updated behavior was tested with Pandoc. Unit tests are updated accordingly.

In addition, <dl>, <dt>, and <dd> tags are now included in whitespace optimization around block elements.

@chrispy-snps chrispy-snps requested a review from AlexVonB March 1, 2025 16:02
@chrispy-snps chrispy-snps merged commit 5122c97 into matthewwithanm:develop Mar 2, 2025
1 check passed
Wuhall pushed a commit to Wuhall/python-markdownify that referenced this pull request May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Definition lists do not insert required newlines

2 participants