github-markdown 0.6.2 → 0.6.3

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: 19d16aff6203cbe19ac36ace54ccb2a7a88dd2c6
4
- data.tar.gz: 582d1569aa3ce50c8d8db6373a440115d9c8ca25
3
+ metadata.gz: cee1e2fb01f05a2821b465f3c7c00471324ee816
4
+ data.tar.gz: 022638f053f01dbaacd5734757c8deefe807ed57
5
5
  SHA512:
6
- metadata.gz: 1839dc2e779cff485cc4af0714622dd453e27be5f9cfb18e4b917990285160af239245e6a44a6a8d85fdd72455e206203902163867454db9c344816d5c650dfa
7
- data.tar.gz: 6c34b036a4d5e3172ef635ee7901b04ed481f2510186edc6484c7a07209a8349d08bc9d111e8d320cfbf090844c14b274e1ef74ddda50cc5f02632821633735e
6
+ metadata.gz: e158d6c2773134f9d8e57b2fed9a56facc572788b1e302dfe277bdb881fb91ab052eb0f19e35018f719162d691954b9d02a966afe792d4d294c9ac2a823507c9
7
+ data.tar.gz: dfd268126f837092c0d3e49346731441b953710b94b7d376b7869dcdb35933f89f98fad6a656b64cf5506a3dc45213ce91811c9c5e298f0dfa0bffcdc0d3d64e
@@ -1706,24 +1706,25 @@ parse_listitem(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t s
1706
1706
  ((*flags & MKD_LIST_ORDERED) && has_next_uli) ||
1707
1707
  (!(*flags & MKD_LIST_ORDERED) && has_next_oli))){
1708
1708
  *flags |= MKD_LI_END;
1709
- break; /* the following item must have same list type */
1710
1709
  }
1711
1710
 
1712
1711
  /* checking for a new item */
1713
1712
  if ((has_next_uli && !is_hrule(data + beg + i, end - beg - i)) || has_next_oli) {
1714
- if (in_empty)
1715
- has_trailing_empty = 1;
1716
-
1717
- if (pre == orgpre) /* the following item must have */
1718
- break; /* the same indentation */
1713
+ /* the following item must have the same indentation */
1714
+ if (pre == orgpre) {
1715
+ if (in_empty)
1716
+ has_trailing_empty = 1;
1717
+ break;
1718
+ }
1719
1719
 
1720
1720
  if (!sublist)
1721
1721
  sublist = work->size;
1722
1722
  }
1723
+
1723
1724
  /* joining only indented stuff after empty lines;
1724
1725
  * note that now we only require 1 space of indentation
1725
1726
  * to continue a list */
1726
- else if (in_empty && pre == 0) {
1727
+ if (in_empty && pre == 0) {
1727
1728
  *flags |= MKD_LI_END;
1728
1729
  break;
1729
1730
  }
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'github-markdown'
4
- s.version = '0.6.2'
4
+ s.version = '0.6.3'
5
5
  s.summary = 'The Markdown parser for GitHub.com'
6
6
  s.description = 'Self-contained Markdown parser for GitHub, with all our custom extensions'
7
7
  s.date = '2013-10-01'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc