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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db3851e8ab5d5808923f85e3b77922a3f3e2f007
4
- data.tar.gz: f968f0a231068c8ebb108cbdfa34f0afe9a74cf6
3
+ metadata.gz: a015aaeb69ca5f1327153c39510e7332a026edb9
4
+ data.tar.gz: f4e6f1335b41cb4dde587885d57ff83772145d9f
5
5
  SHA512:
6
- metadata.gz: 620acab79c1dfd0ad73c2dc14cfef705bff57db529aeb4ee9d1a44267e96a73849234b1b615ecf5103a367ef7434dd98fde853022f10f409183c654e5a9b1a4c
7
- data.tar.gz: 117b7eac91353132f4cf5e3c4226bdc233c91a74dcb71579169b876bfc82f97c019084870c2656696973012caec7efd9193cb09fb812e68bfb3312d284e21b02
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
- if (options & CMARK_OPT_GITHUB_PRE_LANG) {
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:
@@ -1,3 +1,3 @@
1
1
  module CommonMarker
2
- VERSION = '0.14.11'.freeze
2
+ VERSION = '0.14.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmarker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.11
4
+ version: 0.14.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian