apex-ruby 1.0.45 → 1.0.46
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: 7642d16a43cd007ab7d367e6882d9e835e019623ff24bcc94f171c5c3eade78c
|
|
4
|
+
data.tar.gz: 88d347ea0d863a8dc2b137ff730664731533b7b7e65823c4a7b49fad6ba2c60c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 163c85f71a5c055c1a9afc081cdd88ef066524abdb08e62e6dc68e89b2c949df8e4342eef09ab4ee09ae04aec6d692c0acb7b6bea35391281b3ca8bbdf2fce59
|
|
7
|
+
data.tar.gz: f915b8b4f6421cd074b4a1c7cd04a55e4baa3f10a953838a2f950daa6babb6c817bae9c60bebd4c170e7dfa3747aa8fd00bdaa543f2142560e240a158cdd8669
|
|
@@ -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 53
|
|
25
|
+
#define APEX_VERSION_STRING "1.1.53"
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Processor compatibility modes
|
|
@@ -22,11 +22,13 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
#include "definition_list.h"
|
|
25
|
+
#include "ial.h"
|
|
25
26
|
#include "parser.h"
|
|
26
27
|
#include <ctype.h>
|
|
27
28
|
#include "node.h"
|
|
28
29
|
#include "html.h"
|
|
29
30
|
#include "render.h"
|
|
31
|
+
#include "../html_renderer.h"
|
|
30
32
|
#include <string.h>
|
|
31
33
|
#include <stdlib.h>
|
|
32
34
|
#include <stdbool.h>
|
|
@@ -282,7 +284,12 @@ static char *render_inline_with_doc(const char *content, size_t content_len,
|
|
|
282
284
|
cmark_node_free(doc);
|
|
283
285
|
return NULL;
|
|
284
286
|
}
|
|
285
|
-
|
|
287
|
+
/* Terms and definitions are rendered before the document IAL pass, so
|
|
288
|
+
* apply span attributes here or {:.class} stays literal text in the <dt>. */
|
|
289
|
+
if (memchr(content, '{', content_len) != NULL) {
|
|
290
|
+
apex_process_ial_in_tree(doc, NULL);
|
|
291
|
+
}
|
|
292
|
+
char *html = apex_render_html_with_attributes(last, opts);
|
|
286
293
|
cmark_node_free(doc);
|
|
287
294
|
if (!html) return NULL;
|
|
288
295
|
|
data/lib/apex/version.rb
CHANGED