Skip to content

0331-RL-Terminal#2

Draft
JiangYongKang wants to merge 1 commit intomasterfrom
0331-RL-Terminal
Draft

0331-RL-Terminal#2
JiangYongKang wants to merge 1 commit intomasterfrom
0331-RL-Terminal

Conversation

@JiangYongKang
Copy link
Copy Markdown
Owner

This commit introduces the slugify_with_map function to enhance slug generation capabilities, allowing for tracking of transformation steps. It includes a new SlugWithMap data class to encapsulate the slug and its transformation steps. Additionally, comprehensive unit tests for slugify_with_map are added to ensure compatibility with the existing slugify function and to validate various transformation scenarios, including replacements, stopwords, and HTML entity handling.

This commit introduces the `slugify_with_map` function to enhance slug generation capabilities, allowing for tracking of transformation steps. It includes a new `SlugWithMap` data class to encapsulate the slug and its transformation steps. Additionally, comprehensive unit tests for `slugify_with_map` are added to ensure compatibility with the existing `slugify` function and to validate various transformation scenarios, including replacements, stopwords, and HTML entity handling.
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.

1 participant