commonmarker 0.14.6 → 0.14.7

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
  SHA1:
3
- metadata.gz: df1ca727051898c396602b8ce332cd3c6c232d50
4
- data.tar.gz: 24e3981cd9181b6321e9f900fb0a276bad473555
3
+ metadata.gz: f425674c391066d58b5512c04eb239de205ee2ea
4
+ data.tar.gz: 907ae22ce32eef2427eb20cac8a3bbe9dee340b4
5
5
  SHA512:
6
- metadata.gz: ec9202cfb38549225b29ba5818fb9807cce64cbfaa7510786d35628dcada26c8afda18bf1b72c3908afbe5cb39b534a4e525110b31c046094b5d68d28a949a97
7
- data.tar.gz: 59ed7f0ad60a07c50f6cafbd75456980760f1743418a227ea748e86e827ec69f68d6f59f8ef82142e8cbe22a395d84700a77df948539a4c5fda196e6459d737c
6
+ metadata.gz: d0a64fa64caeaf5b25a040509ca3efc47416acc6fcd18cb912cff1feaac5e10cf27e549052f3c8e9e77162a945f8c923e7805a60bf7218d30084eab594354690
7
+ data.tar.gz: 6d112655ccd7e0a9a1cf40b06a777550358087ab6edc4b14cedab64b15da7829019e8d14d89e54739c3954c1f5d36ff9f6ab085406dbdffbd5093204a2057f75
@@ -55,7 +55,7 @@ static size_t autolink_delim(uint8_t *data, size_t link_end) {
55
55
  copen = 0;
56
56
  }
57
57
 
58
- if (strchr("?!.,:*_~", data[link_end - 1]) != NULL)
58
+ if (strchr("?!.,:*_~'\"", data[link_end - 1]) != NULL)
59
59
  link_end--;
60
60
 
61
61
  else if (data[link_end - 1] == ';') {
@@ -432,6 +432,10 @@ Full stop outside parens shouldn't be included http://google.com/ok.
432
432
 
433
433
  (Full stop inside parens shouldn't be included http://google.com/ok.)
434
434
 
435
+ "http://google.com"
436
+
437
+ 'http://google.com'
438
+
435
439
  http://🍄.ga/ http://x🍄.ga/
436
440
  .
437
441
  <p>: <a href="http://google.com">http://google.com</a> <a href="https://google.com">https://google.com</a></p>
@@ -444,6 +448,8 @@ http://🍄.ga/ http://x🍄.ga/
444
448
  <p><a href="mailto:a.w@b.c">a.w@b.c</a></p>
445
449
  <p>Full stop outside parens shouldn't be included <a href="http://google.com/ok">http://google.com/ok</a>.</p>
446
450
  <p>(Full stop inside parens shouldn't be included <a href="http://google.com/ok">http://google.com/ok</a>.)</p>
451
+ <p>&quot;<a href="http://google.com">http://google.com</a>&quot;</p>
452
+ <p>'<a href="http://google.com">http://google.com</a>'</p>
447
453
  <p><a href="http://%F0%9F%8D%84.ga/">http://🍄.ga/</a> <a href="http://x%F0%9F%8D%84.ga/">http://x🍄.ga/</a></p>
448
454
  ````````````````````````````````
449
455
 
@@ -1,3 +1,3 @@
1
1
  module CommonMarker
2
- VERSION = '0.14.6'.freeze
2
+ VERSION = '0.14.7'.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.6
4
+ version: 0.14.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian