hedgedoc/public
Sheogorath 7e45533c75
Fix emoji regex
The old regex, adapted from the other plugins, was a bit too open for
matching. This leads to matching something like: `This is a sentence:
[And something with a: in it.]()` which doesn't become a link anymore.
Because the match is: ` [And something with a`.

This patch provides a fix for the regex to only match non-space string
within the `:`'s.

References:
- Introducing commit:
2063eb8bdf
- Inspirational source of the original RegEx:
2063eb8bdf/public/js/extra.js (L1095)

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-29 20:37:47 +01:00
..
css
docs Merge pull request #997 from SISheogorath/docs/slidePrint 2018-10-22 23:03:11 +02:00
fonts
js Fix emoji regex 2018-10-29 20:37:47 +01:00
uploads
vendor
views
apple-touch-icon.png
codimd-icon-1024.png
default.md
favicon.png
screenshot.png