redcarpet 1.15.1 → 1.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/redcarpet/markdown.c +2 -2
- data/ext/redcarpet/markdown.h +2 -2
- data/lib/redcarpet.rb +1 -1
- data/redcarpet.gemspec +1 -1
- metadata +3 -3
data/ext/redcarpet/markdown.c
CHANGED
|
@@ -878,7 +878,7 @@ char_autolink_email(struct buf *ob, struct render *rndr, char *data, size_t offs
|
|
|
878
878
|
if (isalnum(c))
|
|
879
879
|
continue;
|
|
880
880
|
|
|
881
|
-
if (strchr("
|
|
881
|
+
if (strchr(".+-_", c) != NULL)
|
|
882
882
|
continue;
|
|
883
883
|
|
|
884
884
|
break;
|
|
@@ -895,7 +895,7 @@ char_autolink_email(struct buf *ob, struct render *rndr, char *data, size_t offs
|
|
|
895
895
|
|
|
896
896
|
if (c == '@')
|
|
897
897
|
nb++;
|
|
898
|
-
else if (c == '.')
|
|
898
|
+
else if (c == '.' && link_end < size - 1)
|
|
899
899
|
np++;
|
|
900
900
|
else if (c != '-' && c != '_')
|
|
901
901
|
break;
|
data/ext/redcarpet/markdown.h
CHANGED
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
|
|
22
22
|
#include "buffer.h"
|
|
23
23
|
|
|
24
|
-
#define UPSKIRT_VERSION "1.15.
|
|
24
|
+
#define UPSKIRT_VERSION "1.15.2"
|
|
25
25
|
#define UPSKIRT_VER_MAJOR 1
|
|
26
26
|
#define UPSKIRT_VER_MINOR 15
|
|
27
|
-
#define UPSKIRT_VER_REVISION
|
|
27
|
+
#define UPSKIRT_VER_REVISION 2
|
|
28
28
|
|
|
29
29
|
/********************
|
|
30
30
|
* TYPE DEFINITIONS *
|
data/lib/redcarpet.rb
CHANGED
data/redcarpet.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redcarpet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 47
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 15
|
|
9
|
-
-
|
|
10
|
-
version: 1.15.
|
|
9
|
+
- 2
|
|
10
|
+
version: 1.15.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- "Natacha Port\xC3\xA9"
|