HackMD/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 Remove dead package octicon 2018-10-10 23:42:41 +02:00
docs Merge pull request #997 from SISheogorath/docs/slidePrint 2018-10-22 23:03:11 +02:00
fonts Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
js Fix emoji regex 2018-10-29 20:37:47 +01:00
uploads upload image to public/uploads 2016-11-14 16:45:57 +08:00
vendor ToC: Some HTML improvements and style fixes 2018-07-04 21:09:06 +02:00
views Remove Gitter from codebase 2018-10-17 02:28:19 +02:00
apple-touch-icon.png optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
codimd-icon-1024.png Rebrand HackMD to CodiMD 2018-06-24 13:24:12 +02:00
default.md Removed unused note and set empty on default note, updated features note 2016-01-17 09:57:25 -06:00
favicon.png optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
screenshot.png Add screenshot on index page 2017-01-21 12:52:26 +08:00