Repository navigation
v2.16.4 - Tags in lists
A patch release resolving GitHub issue #137, where tags inside bullet list items did not appear in the tag view.
Fixed
- Tags in lists (#137).
TagParsermatched a tag body as "everything up to the next whitespace", so a period or comma at the end of a list item (#shopping.,#work,) was absorbed into the tag name, failed validation, and dropped the tag entirely. Tag bodies are now matched directly against the set of valid characters (\p{L}and\p{N}), which naturally excludes trailing punctuation. - Multilingual tag support. The segment character set was limited to Latin and Hangul, rejecting German umlauts and Japanese and Chinese tags; it was widened to Unicode character categories.
- Removed unnecessary heading and URL exclusion logic. The
(^|\s)#prefix condition already filters out URL fragments and leading heading markers, so the previous exclusion pass had no effect other than the side effect of blocking a tag across the whole note if it appeared once in a heading.
Tests
- Added unit tests for list items, trailing punctuation, comma separation, headings, and German, Japanese, and Chinese tags.
- Added an instrumented test verifying that the Unicode class regular expression works on the Android ICU engine as well as the host JVM.