apex-ruby 1.0.36 → 1.0.37
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70423c8b7b3f13723cfee24afc52bbf12c049950b241aee21e8f53dc3b971f4f
|
|
4
|
+
data.tar.gz: 1ea75f8a208a30aa92d886b4435d6bf246dbecb1d5fe627e87c3f211dcb9f656
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35f0ff23c943b29e0cc7d73fd75a8d28304a7e8bcaf490705c60dcbfe97096b2357174e77270ec00abfda417a8f9dfc0d863682e56468619f40b1275d7eb7e80
|
|
7
|
+
data.tar.gz: 0aa1da7ad8a6d607b1b54467e25ef386e644a653221d2cf01abf7a0455571d6607340cb19b143ae718344ec2ce660ddf9480155cc0be5cfb3ee198b9913f6e99
|
|
@@ -21,8 +21,8 @@ typedef struct cmark_node cmark_node;
|
|
|
21
21
|
|
|
22
22
|
#define APEX_VERSION_MAJOR 1
|
|
23
23
|
#define APEX_VERSION_MINOR 1
|
|
24
|
-
#define APEX_VERSION_PATCH
|
|
25
|
-
#define APEX_VERSION_STRING "1.1.
|
|
24
|
+
#define APEX_VERSION_PATCH 39
|
|
25
|
+
#define APEX_VERSION_STRING "1.1.39"
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Processor compatibility modes
|
|
@@ -140,8 +140,11 @@ static int parse_pandoc_citation(const char *text, int pos, int len,
|
|
|
140
140
|
char *suffix = NULL;
|
|
141
141
|
char *key = NULL;
|
|
142
142
|
|
|
143
|
-
/* Check for @key (author-in-text, no brackets)
|
|
144
|
-
|
|
143
|
+
/* Check for @key (author-in-text, no brackets).
|
|
144
|
+
* Same boundary as the early-out scan: start of text, whitespace, or '('.
|
|
145
|
+
* Mid-token '@' (ah-original@2x.png, user@example.com) is not a citation. */
|
|
146
|
+
if (*p == '@' &&
|
|
147
|
+
(p == text || isspace((unsigned char)p[-1]) || p[-1] == '(')) {
|
|
145
148
|
p++;
|
|
146
149
|
int key_len = extract_citation_key(text, apex_ptrdiff_to_int(p - text), len, &key);
|
|
147
150
|
if (key_len > 0 && key) {
|
data/lib/apex/version.rb
CHANGED