D
Dick Davies
------=_Part_4181_26232491.1124977711379
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Anyone else seen this?
-------------------------8<----------------------------------
#!/usr/bin/env ruby
require 'redcloth'
rc =3D <<-END
Redcloth handles nested lists OK
# number 1
# number 2
** number 2 has a sublist
** this is fine, since the ordered list carries on
# number last
but not when the nested list is the last item in the parent list:
# number 1
# number 2
# number last
** number last has a sublist
** this generates unclosed tags
(I've mixed OL and UL here, otherwise you wouldn't see it).
This showed up in typo, but it seems to be in my system redcloth on Debian
too.
END
puts RedCloth.new(rc).to_html
-------------------------8<----------------------------------
--=20
Rasputin :: Jack of All Trades - Master of Nuns
------=_Part_4181_26232491.1124977711379
Content-Type: application/x-ruby; name="rc-oops.rb"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="rc-oops.rb"
IyEvdXNyL2Jpbi9lbnYgcnVieQoKcmVxdWlyZSAncmVkY2xvdGgnCgpyYyA9IDw8LUVORAoKUmVk
Y2xvdGggaGFuZGxlcyBuZXN0ZWQgbGlzdHMgT0sKCiMgbnVtYmVyIDEKIyBudW1iZXIgMgoqKiBu
dW1iZXIgMiBoYXMgYSBzdWJsaXN0CioqIHRoaXMgaXMgZmluZSwgc2luY2UgdGhlIG9yZGVyZWQg
bGlzdCBjYXJyaWVzIG9uCiMgbnVtYmVyIGxhc3QKCmJ1dCBub3Qgd2hlbiB0aGUgbmVzdGVkIGxp
c3QgaXMgdGhlIGxhc3QgaXRlbSBpbiB0aGUgcGFyZW50IGxpc3Q6CgojIG51bWJlciAxCiMgbnVt
YmVyIDIKIyBudW1iZXIgbGFzdAoqKiBudW1iZXIgbGFzdCBoYXMgYSBzdWJsaXN0CioqIHRoaXMg
Z2VuZXJhdGVzIHVuY2xvc2VkIHRhZ3MKCihJJ3ZlIG1peGVkIE9MIGFuZCBVTCBoZXJlLCBvdGhl
cndpc2UgeW91IHdvdWxkbid0IHNlZSBpdCkuClRoaXMgc2hvd2VkIHVwIGluIHR5cG8sIGJ1dCBp
dCBzZWVtcyB0byBiZSBpbiBteSBzeXN0ZW0gcmVkY2xvdGggb24gRGViaWFuCnRvby4KCkVORAoK
cHV0cyBSZWRDbG90aC5uZXcocmMpLnRvX2h0bWwK
------=_Part_4181_26232491.1124977711379--
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Anyone else seen this?
-------------------------8<----------------------------------
#!/usr/bin/env ruby
require 'redcloth'
rc =3D <<-END
Redcloth handles nested lists OK
# number 1
# number 2
** number 2 has a sublist
** this is fine, since the ordered list carries on
# number last
but not when the nested list is the last item in the parent list:
# number 1
# number 2
# number last
** number last has a sublist
** this generates unclosed tags
(I've mixed OL and UL here, otherwise you wouldn't see it).
This showed up in typo, but it seems to be in my system redcloth on Debian
too.
END
puts RedCloth.new(rc).to_html
-------------------------8<----------------------------------
--=20
Rasputin :: Jack of All Trades - Master of Nuns
------=_Part_4181_26232491.1124977711379
Content-Type: application/x-ruby; name="rc-oops.rb"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="rc-oops.rb"
IyEvdXNyL2Jpbi9lbnYgcnVieQoKcmVxdWlyZSAncmVkY2xvdGgnCgpyYyA9IDw8LUVORAoKUmVk
Y2xvdGggaGFuZGxlcyBuZXN0ZWQgbGlzdHMgT0sKCiMgbnVtYmVyIDEKIyBudW1iZXIgMgoqKiBu
dW1iZXIgMiBoYXMgYSBzdWJsaXN0CioqIHRoaXMgaXMgZmluZSwgc2luY2UgdGhlIG9yZGVyZWQg
bGlzdCBjYXJyaWVzIG9uCiMgbnVtYmVyIGxhc3QKCmJ1dCBub3Qgd2hlbiB0aGUgbmVzdGVkIGxp
c3QgaXMgdGhlIGxhc3QgaXRlbSBpbiB0aGUgcGFyZW50IGxpc3Q6CgojIG51bWJlciAxCiMgbnVt
YmVyIDIKIyBudW1iZXIgbGFzdAoqKiBudW1iZXIgbGFzdCBoYXMgYSBzdWJsaXN0CioqIHRoaXMg
Z2VuZXJhdGVzIHVuY2xvc2VkIHRhZ3MKCihJJ3ZlIG1peGVkIE9MIGFuZCBVTCBoZXJlLCBvdGhl
cndpc2UgeW91IHdvdWxkbid0IHNlZSBpdCkuClRoaXMgc2hvd2VkIHVwIGluIHR5cG8sIGJ1dCBp
dCBzZWVtcyB0byBiZSBpbiBteSBzeXN0ZW0gcmVkY2xvdGggb24gRGViaWFuCnRvby4KCkVORAoK
cHV0cyBSZWRDbG90aC5uZXcocmMpLnRvX2h0bWwK
------=_Part_4181_26232491.1124977711379--