Skip to content

Commit

Permalink
fix: ingredient pill does not work with apostrophe (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBursch authored Jan 26, 2024
1 parent f7a446c commit 2e6d3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitchenowl/lib/helpers/recipe_item_markdown_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class RecipeItemMarkdownSyntax extends md.InlineSyntax {
);

static const String _pattern =
r"""@([^ \n\.\(\)\\\/\?\*\+,!%$#@^;:'"=~`]+)"""; // TODO: replace with \p{L} and unicode=true
r"""@([^ \n\.\(\)\\\/\?\*\+,!%$#@^;:"=~]+)"""; // TODO: replace with \p{L} and unicode=true

@override
bool onMatch(md.InlineParser parser, Match match) {
Expand Down

0 comments on commit 2e6d3e8

Please sign in to comment.