smartypants 0.0.3
smartypants: ^0.0.3 copied to clipboard
A Dart package that provides text formatting similar to SmartyPants.
Changelog #
0.0.3 - 2026-02-18 #
Added #
- CJK typography support with locale-based transformations.
SmartyPantsConfigfor customization.- HTML tokenizer for improved text processing and tag handling.
- Exported
Tokenizerclass in the main library. - Preserved punctuation context across HTML tags using placeholders.
Changed #
- Refactored text processing pipeline to support configuration and tokenization.
- Updated Android package name and application ID to
com.eunice_hong.smartypants. - Updated iOS bundle identifiers and Linux application ID.
Fixed #
- Prevent incorrect conversion of non-CJK single angle brackets (including bitshift operators).
- Prevent corruption of literal private-use characters.
- Implement marker strategy for CJK angle brackets to prevent HTML tokenization conflicts.
- Improved closing tag matching in tokenizer to allow whitespace.
- Adjusted indentation for 'Topic' field validations in issue templates.