Update Sundown.

This commit is contained in:
FSX 2013-04-11 13:44:42 +02:00
parent d9c58f0081
commit e58b74c6ec
7 changed files with 516 additions and 197 deletions

5
.gitignore vendored
View File

@ -1,6 +1,7 @@
env*
*.sublime-*
__pycache__
_build
build
dist
*.egg-info
*.sublime-*
*.pyc

0
docs/scripts/process_assets.sh Executable file → Normal file
View File

0
scripts/misaka Executable file → Normal file
View File

File diff suppressed because it is too large Load Diff

View File

@ -235,7 +235,8 @@ sd_autolink__email(
break;
}
if (link_end < 2 || nb != 1 || np == 0)
if (link_end < 2 || nb != 1 || np == 0 ||
!isalpha(data[link_end - 1]))
return 0;
link_end = autolink_delim(data, link_end, max_rewind, size);

0
src/sundown/html.c Executable file → Normal file
View File

2
vendor/sundown vendored

@ -1 +1 @@
Subproject commit bc68d59041c34f425e3a21cdf928dc609e18d01c
Subproject commit 37728fb2d7137ff7c37d0a474cb827a8d6d846d8