Skip to content

Fix emoji tries to match over words - #37

Merged
BenjaminHoegh merged 3 commits into
BenjaminHoegh:mainfrom
KENNYSOFT:emoji-over-words
Mar 20, 2022
Merged

BenjaminHoegh merged 3 commits into
BenjaminHoegh:mainfrom
KENNYSOFT:emoji-over-words

Conversation

@KENNYSOFT

@KENNYSOFT KENNYSOFT commented Mar 20, 2022 •

Copy link
Copy Markdown
Contributor

Description

Fix emoji tries to match over words, by restricting character range to except space.

echo $ParsedownExtended->text("* test: [link](https://google.com)");

# before: <li>test: [link](https://google.com)</li>
# after: <li>test: <a href="https://google.com/">link</a></li>

Also, I've fixed a typo and broken link in README.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Contributing guidelines

description: What steps have you taken to make sure your code follow the community guides?
options:

Change to the documentation

description: What types of changes does your code introduce?
options:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Code of Conduct

By submitting this pull request, you agree to follow our Code of Conduct

  • I agree to follow this project's Code of Conduct

@BenjaminHoegh
BenjaminHoegh merged commit 72743a2 into BenjaminHoegh:main Mar 20, 2022
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.

2 participants