commonmarker 0.14.11 → 0.14.12
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of commonmarker might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ext/commonmarker/cmark/src/html.c +2 -6
- data/lib/commonmarker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a015aaeb69ca5f1327153c39510e7332a026edb9
|
4
|
+
data.tar.gz: f4e6f1335b41cb4dde587885d57ff83772145d9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62b54bd99c11cf1243d755ad88c9dcc1f8f4fc1923ab2112daf39ae25a41a7405cbe543241cc748468c507b5d28722f08cb952ae75603be9422abb57b1eb42a9
|
7
|
+
data.tar.gz: 5e35ac20ba1d0347a55678326eeea21c814791ee7f1f4cc0bf1b35596a93cc0ec7e94d29e8564897d23a7790f9316560a4b01801c6c9b12f03d07f82c592514f
|
@@ -188,7 +188,7 @@ static int S_render_node(cmark_html_renderer *renderer, cmark_node *node,
|
|
188
188
|
cmark_html_render_sourcepos(node, html, options);
|
189
189
|
cmark_strbuf_puts(html, " lang=\"");
|
190
190
|
escape_html(html, node->as.code.info.data, first_tag);
|
191
|
-
cmark_strbuf_puts(html, "\">");
|
191
|
+
cmark_strbuf_puts(html, "\"><code>");
|
192
192
|
} else {
|
193
193
|
cmark_strbuf_puts(html, "<pre");
|
194
194
|
cmark_html_render_sourcepos(node, html, options);
|
@@ -199,11 +199,7 @@ static int S_render_node(cmark_html_renderer *renderer, cmark_node *node,
|
|
199
199
|
}
|
200
200
|
|
201
201
|
escape_html(html, node->as.code.literal.data, node->as.code.literal.len);
|
202
|
-
|
203
|
-
cmark_strbuf_puts(html, "</pre>\n");
|
204
|
-
} else {
|
205
|
-
cmark_strbuf_puts(html, "</code></pre>\n");
|
206
|
-
}
|
202
|
+
cmark_strbuf_puts(html, "</code></pre>\n");
|
207
203
|
break;
|
208
204
|
|
209
205
|
case CMARK_NODE_HTML_BLOCK:
|
data/lib/commonmarker/version.rb
CHANGED