RedCloth 4.0.2-x86-mswin32-60 → 4.0.3-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of RedCloth might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ *4.0.3 (August 18, 2008)*
2
+
3
+ * Fix NoMethodError: private method gsub!' called for nil:NilClass when two dimensions followed by a space. #38
4
+
5
+ * Fixed unititialized constant RedCloth::TextileDoc with Rails 2.1. Came from a workaround for Rails bug #320 that was applied even when not necessary. #42
6
+
7
+
1
8
  *4.0.2 (August 15, 2008)*
2
9
 
3
10
  * Fixed link references/aliases not being recognized when they include hyphens. #36
@@ -5290,166 +5290,166 @@ static const short _redcloth_inline_indicies[] = {
5290
5290
  858, 2137, 858, 858, 858, 858, 858, 1942,
5291
5291
  858, 858, 858, 2136, 2144, 2145, 1952, 869,
5292
5292
  870, 870, 2146, 863, 872, 1952, 2148, 2149,
5293
- 2149, 864, 867, 864, 2147, 2150, 2150, 868,
5294
- 868, 2147, 2147, 2148, 867, 2147, 869, 870,
5295
- 870, 872, 863, 872, 2151, 1942, 869, 2152,
5296
- 2152, 872, 1942, 1942, 1942, 2154, 1942, 1942,
5297
- 1942, 1942, 1942, 2153, 1942, 1942, 1915, 1942,
5298
- 869, 1942, 1942, 1942, 1942, 1942, 2154, 1942,
5293
+ 2149, 864, 2150, 864, 2147, 2151, 2151, 868,
5294
+ 868, 2147, 2147, 2148, 2150, 2147, 869, 870,
5295
+ 870, 872, 863, 872, 2152, 1942, 869, 2153,
5296
+ 2153, 872, 1942, 1942, 1942, 2155, 1942, 1942,
5297
+ 1942, 1942, 1942, 2154, 1942, 1942, 1915, 1942,
5298
+ 869, 1942, 1942, 1942, 1942, 1942, 2155, 1942,
5299
5299
  1942, 1942, 1942, 1942, 1941, 1942, 1942, 1915,
5300
5300
  1942, 1942, 864, 1942, 1942, 1942, 1942, 1942,
5301
5301
  1942, 1942, 1942, 1942, 864, 1942, 1942, 1915,
5302
- 2155, 2156, 883, 883, 2157, 2158, 2159, 883,
5303
- 883, 1952, 2160, 2161, 2162, 882, 892, 882,
5302
+ 2156, 2157, 883, 883, 2158, 2159, 2160, 883,
5303
+ 883, 1952, 2161, 2162, 2163, 882, 892, 882,
5304
5304
  893, 921, 901, 911, 882, 892, 882, 893,
5305
- 921, 901, 911, 2164, 2166, 2165, 2168, 2167,
5306
- 2167, 2169, 2171, 2170, 2164, 2171, 2170, 2169,
5307
- 2172, 2170, 2164, 2172, 2170, 2174, 2175, 2173,
5308
- 2175, 2173, 892, 1089, 1091, 1088, 892, 1089,
5309
- 1091, 1088, 2177, 2175, 2176, 2175, 2176, 893,
5310
- 1089, 1142, 1100, 893, 1089, 1142, 1100, 2179,
5311
- 2180, 2181, 2178, 2180, 2181, 2178, 911, 1137,
5305
+ 921, 901, 911, 2165, 2167, 2166, 2169, 2168,
5306
+ 2168, 2170, 2172, 2171, 2165, 2172, 2171, 2170,
5307
+ 2173, 2171, 2165, 2173, 2171, 2175, 2176, 2174,
5308
+ 2176, 2174, 892, 1089, 1091, 1088, 892, 1089,
5309
+ 1091, 1088, 2178, 2176, 2177, 2176, 2177, 893,
5310
+ 1089, 1142, 1100, 893, 1089, 1142, 1100, 2180,
5311
+ 2181, 2182, 2179, 2181, 2182, 2179, 911, 1137,
5312
5312
  1108, 1135, 1126, 911, 1137, 1108, 1135, 1126,
5313
5313
  892, 1089, 1090, 1088, 892, 1089, 1090, 1088,
5314
5314
  893, 1089, 1204, 1100, 893, 1089, 1204, 1100,
5315
5315
  911, 1137, 1108, 1220, 1126, 911, 1137, 1108,
5316
- 1220, 1126, 1851, 1952, 2183, 2182, 1852, 1952,
5317
- 2185, 2184, 1942, 1942, 1853, 1853, 1853, 1853,
5318
- 1853, 1853, 1853, 1942, 1853, 1853, 2187, 1853,
5319
- 1853, 2186, 1942, 1248, 1249, 1248, 1247, 1247,
5320
- 1247, 2190, 1247, 1247, 1247, 1247, 1942, 1247,
5321
- 1247, 2189, 1247, 1247, 2188, 2192, 2191, 1942,
5322
- 1248, 1249, 1248, 2193, 2193, 1247, 2190, 1247,
5323
- 1247, 2194, 1247, 1247, 1942, 1247, 1247, 2189,
5324
- 1247, 1247, 2188, 1942, 1248, 1249, 1248, 1247,
5325
- 1247, 1247, 2190, 1247, 1247, 2194, 1247, 1247,
5326
- 1942, 1247, 1247, 2189, 1247, 1247, 2188, 2191,
5327
- 2191, 2191, 2195, 2191, 2191, 2191, 2191, 2191,
5328
- 2191, 2191, 1941, 2191, 2191, 1915, 1942, 1248,
5329
- 1249, 1248, 1247, 1247, 1247, 2190, 1247, 1247,
5330
- 1247, 1247, 1942, 1247, 1247, 1247, 2188, 1942,
5316
+ 1220, 1126, 1851, 1952, 2184, 2183, 1852, 1952,
5317
+ 2186, 2185, 1942, 1942, 1853, 1853, 1853, 1853,
5318
+ 1853, 1853, 1853, 1942, 1853, 1853, 2188, 1853,
5319
+ 1853, 2187, 1942, 1248, 1249, 1248, 1247, 1247,
5320
+ 1247, 2191, 1247, 1247, 1247, 1247, 1942, 1247,
5321
+ 1247, 2190, 1247, 1247, 2189, 2193, 2192, 1942,
5322
+ 1248, 1249, 1248, 2194, 2194, 1247, 2191, 1247,
5323
+ 1247, 2195, 1247, 1247, 1942, 1247, 1247, 2190,
5324
+ 1247, 1247, 2189, 1942, 1248, 1249, 1248, 1247,
5325
+ 1247, 1247, 2191, 1247, 1247, 2195, 1247, 1247,
5326
+ 1942, 1247, 1247, 2190, 1247, 1247, 2189, 2192,
5327
+ 2192, 2192, 2196, 2192, 2192, 2192, 2192, 2192,
5328
+ 2192, 2192, 1941, 2192, 2192, 1915, 1942, 1248,
5329
+ 1249, 1248, 1247, 1247, 1247, 2191, 1247, 1247,
5330
+ 1247, 1247, 1942, 1247, 1247, 1247, 2189, 1942,
5331
5331
  1942, 1942, 1942, 1942, 1942, 1942, 1942, 1942,
5332
- 1942, 1942, 2196, 1942, 2197, 1942, 1915, 1942,
5332
+ 1942, 1942, 2197, 1942, 2198, 1942, 1915, 1942,
5333
5333
  1943, 1943, 1942, 1942, 1942, 1944, 1942, 1942,
5334
- 1942, 1942, 1942, 2198, 1942, 2199, 1942, 1915,
5335
- 1942, 1943, 1943, 2200, 1942, 1942, 1942, 1944,
5336
- 1942, 1942, 1942, 1942, 1942, 2198, 1942, 2199,
5337
- 1942, 1915, 1942, 2200, 1942, 1942, 1942, 1942,
5338
- 1942, 1942, 1942, 1942, 1942, 2198, 1942, 2199,
5334
+ 1942, 1942, 1942, 2199, 1942, 2200, 1942, 1915,
5335
+ 1942, 1943, 1943, 2201, 1942, 1942, 1942, 1944,
5336
+ 1942, 1942, 1942, 1942, 1942, 2199, 1942, 2200,
5337
+ 1942, 1915, 1942, 2201, 1942, 1942, 1942, 1942,
5338
+ 1942, 1942, 1942, 1942, 1942, 2199, 1942, 2200,
5339
5339
  1942, 1915, 1942, 1942, 1942, 1942, 1942, 1942,
5340
- 1942, 1942, 1942, 1942, 1942, 2198, 1942, 2201,
5341
- 1942, 1915, 2202, 2200, 2202, 2202, 2202, 2202,
5342
- 2202, 2202, 2202, 2202, 2202, 2198, 2202, 2201,
5343
- 2202, 1915, 2203, 2204, 2205, 2206, 2207, 2208,
5344
- 2209, 2211, 2212, 2213, 2214, 2215, 82, 2216,
5345
- 2217, 2218, 2214, 81, 82, 2219, 2210, 1952,
5346
- 1976, 1283, 1284, 1287, 1285, 1976, 2220, 1976,
5340
+ 1942, 1942, 1942, 1942, 1942, 2199, 1942, 2202,
5341
+ 1942, 1915, 2203, 2201, 2203, 2203, 2203, 2203,
5342
+ 2203, 2203, 2203, 2203, 2203, 2199, 2203, 2202,
5343
+ 2203, 1915, 2204, 2205, 2206, 2207, 2208, 2209,
5344
+ 2210, 2212, 2213, 2214, 2215, 2216, 82, 2217,
5345
+ 2218, 2219, 2215, 81, 82, 2220, 2211, 1952,
5346
+ 1976, 1283, 1284, 1287, 1285, 1976, 2221, 1976,
5347
5347
  1282, 1976, 1283, 1284, 1283, 1285, 1976, 1282,
5348
- 1976, 1283, 1284, 1283, 1285, 1976, 2220, 1976,
5349
- 1282, 1976, 1315, 1316, 1317, 1318, 1976, 2221,
5348
+ 1976, 1283, 1284, 1283, 1285, 1976, 2221, 1976,
5349
+ 1282, 1976, 1315, 1316, 1317, 1318, 1976, 2222,
5350
5350
  1976, 1314, 1976, 1315, 1316, 1317, 1318, 1976,
5351
- 1314, 1976, 1315, 1316, 1317, 1318, 1295, 2221,
5351
+ 1314, 1976, 1315, 1316, 1317, 1318, 1295, 2222,
5352
5352
  1976, 1314, 1976, 1336, 1337, 1340, 1341, 1976,
5353
- 2222, 1976, 1334, 1976, 1336, 1337, 1336, 1338,
5353
+ 2223, 1976, 1334, 1976, 1336, 1337, 1336, 1338,
5354
5354
  1976, 1334, 1976, 1336, 1337, 1336, 1341, 1976,
5355
- 2222, 1976, 1334, 1976, 1329, 1330, 1331, 1342,
5356
- 1976, 2223, 1976, 1327, 1976, 1329, 1330, 1331,
5355
+ 2223, 1976, 1334, 1976, 1329, 1330, 1331, 1342,
5356
+ 1976, 2224, 1976, 1327, 1976, 1329, 1330, 1331,
5357
5357
  1332, 1976, 1327, 1976, 1329, 1330, 1331, 1332,
5358
- 1976, 2223, 1976, 1327, 1367, 1394, 1395, 1397,
5359
- 1396, 1393, 1367, 2224, 1367, 1391, 1367, 1394,
5358
+ 1976, 2224, 1976, 1327, 1367, 1394, 1395, 1397,
5359
+ 1396, 1393, 1367, 2225, 1367, 1391, 1367, 1394,
5360
5360
  1395, 1394, 1396, 1393, 1367, 1391, 1976, 1283,
5361
- 1284, 1287, 1285, 1295, 2220, 1976, 1282, 1976,
5362
- 1336, 1337, 1340, 1338, 1976, 2222, 1976, 1334,
5363
- 1976, 1283, 1284, 1287, 1465, 1976, 2222, 1976,
5361
+ 1284, 1287, 1285, 1295, 2221, 1976, 1282, 1976,
5362
+ 1336, 1337, 1340, 1338, 1976, 2223, 1976, 1334,
5363
+ 1976, 1283, 1284, 1287, 1465, 1976, 2223, 1976,
5364
5364
  1334, 1358, 1450, 1451, 1453, 1452, 1449, 1393,
5365
- 1358, 2225, 1358, 1447, 1358, 1450, 1451, 1450,
5365
+ 1358, 2226, 1358, 1447, 1358, 1450, 1451, 1450,
5366
5366
  1452, 1449, 1393, 1358, 1447, 1976, 1315, 1316,
5367
- 1317, 1328, 1976, 2223, 1976, 1327, 1976, 1336,
5368
- 1337, 1336, 1338, 1976, 2222, 1976, 1334, 1976,
5369
- 1315, 1316, 1317, 1328, 1295, 2223, 1976, 1327,
5370
- 1535, 1548, 1549, 1551, 1550, 1535, 2226, 1393,
5367
+ 1317, 1328, 1976, 2224, 1976, 1327, 1976, 1336,
5368
+ 1337, 1336, 1338, 1976, 2223, 1976, 1334, 1976,
5369
+ 1315, 1316, 1317, 1328, 1295, 2224, 1976, 1327,
5370
+ 1535, 1548, 1549, 1551, 1550, 1535, 2227, 1393,
5371
5371
  1535, 1546, 1535, 1548, 1549, 1548, 1550, 1393,
5372
- 1535, 1546, 2227, 1366, 1535, 1366, 1535, 1535,
5373
- 1548, 1549, 1548, 1550, 1535, 2226, 1393, 1535,
5374
- 1546, 1535, 1542, 1543, 1544, 1540, 1535, 2228,
5372
+ 1535, 1546, 2228, 1366, 1535, 1366, 1535, 1535,
5373
+ 1548, 1549, 1548, 1550, 1535, 2227, 1393, 1535,
5374
+ 1546, 1535, 1542, 1543, 1544, 1540, 1535, 2229,
5375
5375
  1384, 1535, 1541, 1535, 1542, 1543, 1544, 1540,
5376
5376
  1384, 1535, 1541, 1535, 1542, 1543, 1544, 1540,
5377
- 1559, 2228, 1384, 1535, 1541, 1478, 1484, 1485,
5378
- 1487, 1486, 1478, 2229, 1478, 1483, 1976, 1283,
5377
+ 1559, 2229, 1384, 1535, 1541, 1478, 1484, 1485,
5378
+ 1487, 1486, 1478, 2230, 1478, 1483, 1976, 1283,
5379
5379
  1284, 1455, 1456, 1457, 1458, 1459, 1460, 1976,
5380
- 1454, 2230, 1478, 1976, 1321, 1322, 1368, 1369,
5380
+ 1454, 2231, 1478, 1976, 1321, 1322, 1368, 1369,
5381
5381
  1370, 1371, 1976, 1320, 1478, 1484, 1485, 1484,
5382
- 1486, 1478, 2229, 1478, 1483, 1478, 1530, 1531,
5383
- 1532, 1528, 1478, 2231, 1478, 1529, 1976, 1315,
5382
+ 1486, 1478, 2230, 1478, 1483, 1478, 1530, 1531,
5383
+ 1532, 1528, 1478, 2232, 1478, 1529, 1976, 1315,
5384
5384
  1316, 1517, 1322, 1368, 1369, 1370, 1371, 1976,
5385
- 1320, 1478, 1530, 1531, 1532, 1528, 1495, 2231,
5386
- 1478, 1529, 1366, 2232, 1367, 1366, 1367, 1365,
5387
- 1366, 2233, 1358, 1365, 1366, 1358, 1976, 1283,
5388
- 1284, 1287, 1465, 1295, 2222, 1976, 1334, 1478,
5389
- 1484, 1485, 1487, 1486, 1495, 2229, 1478, 1483,
5390
- 1535, 1548, 1549, 1551, 1550, 1559, 2226, 1393,
5385
+ 1320, 1478, 1530, 1531, 1532, 1528, 1495, 2232,
5386
+ 1478, 1529, 1366, 2233, 1367, 1366, 1367, 1365,
5387
+ 1366, 2234, 1358, 1365, 1366, 1358, 1976, 1283,
5388
+ 1284, 1287, 1465, 1295, 2223, 1976, 1334, 1478,
5389
+ 1484, 1485, 1487, 1486, 1495, 2230, 1478, 1483,
5390
+ 1535, 1548, 1549, 1551, 1550, 1559, 2227, 1393,
5391
5391
  1535, 1546, 1367, 1394, 1395, 1397, 1396, 1393,
5392
- 1406, 2224, 1367, 1391, 1358, 1450, 1451, 1453,
5393
- 1452, 1449, 1393, 1416, 2225, 1358, 1447, 1367,
5394
- 1394, 1395, 1394, 1396, 1393, 1367, 2224, 1367,
5392
+ 1406, 2225, 1367, 1391, 1358, 1450, 1451, 1453,
5393
+ 1452, 1449, 1393, 1416, 2226, 1358, 1447, 1367,
5394
+ 1394, 1395, 1394, 1396, 1393, 1367, 2225, 1367,
5395
5395
  1391, 1367, 1386, 1387, 1388, 1389, 1384, 1367,
5396
- 2234, 1367, 1385, 1367, 1386, 1387, 1388, 1389,
5396
+ 2235, 1367, 1385, 1367, 1386, 1387, 1388, 1389,
5397
5397
  1384, 1367, 1385, 1358, 1450, 1451, 1450, 1452,
5398
- 1449, 1393, 1358, 2225, 1358, 1447, 1358, 1380,
5399
- 1381, 1382, 1378, 1383, 1384, 1358, 2235, 1358,
5398
+ 1449, 1393, 1358, 2226, 1358, 1447, 1358, 1380,
5399
+ 1381, 1382, 1378, 1383, 1384, 1358, 2236, 1358,
5400
5400
  1379, 1358, 1380, 1381, 1382, 1378, 1383, 1384,
5401
5401
  1358, 1379, 1367, 1386, 1387, 1388, 1389, 1384,
5402
- 1406, 2234, 1367, 1385, 1358, 1380, 1381, 1382,
5403
- 1378, 1383, 1384, 1416, 2235, 1358, 1379, 2111,
5404
- 854, 855, 854, 856, 2236, 2111, 853, 2111,
5405
- 854, 855, 854, 856, 2111, 853, 2238, 2237,
5406
- 2238, 1893, 2237, 2240, 2239, 2237, 1890, 1891,
5407
- 1890, 2241, 1892, 2237, 1889, 2237, 1890, 1891,
5408
- 1890, 1892, 2237, 1889, 2243, 2242, 1952, 1952,
5402
+ 1406, 2235, 1367, 1385, 1358, 1380, 1381, 1382,
5403
+ 1378, 1383, 1384, 1416, 2236, 1358, 1379, 2111,
5404
+ 854, 855, 854, 856, 2237, 2111, 853, 2111,
5405
+ 854, 855, 854, 856, 2111, 853, 2239, 2238,
5406
+ 2239, 1893, 2238, 2241, 2240, 2238, 1890, 1891,
5407
+ 1890, 2242, 1892, 2238, 1889, 2238, 1890, 1891,
5408
+ 1890, 1892, 2238, 1889, 2244, 2243, 1952, 1952,
5409
5409
  85, 86, 87, 1952, 84, 1942, 1942, 1877,
5410
- 1877, 1877, 2246, 1877, 1877, 1942, 1877, 1877,
5411
- 2245, 1877, 1877, 1877, 2244, 1942, 1880, 1881,
5412
- 1880, 1879, 1879, 1879, 2249, 1879, 1879, 1942,
5413
- 1879, 1879, 2248, 1879, 1879, 1879, 2247, 1942,
5414
- 1880, 1881, 1880, 2250, 2250, 1879, 2249, 2251,
5415
- 1879, 1879, 1942, 1879, 1879, 2248, 1879, 1879,
5416
- 1879, 2247, 1942, 1880, 1881, 1880, 1879, 1879,
5417
- 1879, 2249, 2251, 1879, 1879, 1942, 1879, 1879,
5418
- 2248, 1879, 1879, 1879, 2247, 2237, 2237, 2237,
5419
- 2252, 2237, 2237, 2237, 2237, 2237, 2237, 2237,
5420
- 1941, 2237, 2237, 1915, 1942, 1880, 1881, 1880,
5421
- 1879, 1879, 1879, 2249, 1879, 1879, 1942, 1879,
5422
- 1879, 1879, 1879, 2247, 1942, 1880, 1881, 1880,
5423
- 1883, 1883, 1883, 2255, 1883, 1883, 1942, 1883,
5424
- 1883, 2254, 1883, 1883, 1883, 2253, 1942, 1886,
5425
- 1887, 1886, 1885, 1885, 1885, 2258, 1885, 1885,
5426
- 1942, 1885, 1885, 2257, 1885, 1885, 1885, 2256,
5427
- 1942, 1886, 1887, 1886, 2259, 2259, 1885, 2258,
5428
- 2260, 1885, 1885, 1942, 1885, 1885, 2257, 1885,
5429
- 1885, 1885, 2256, 1942, 1886, 1887, 1886, 1885,
5430
- 1885, 1885, 2258, 2260, 1885, 1885, 1942, 1885,
5431
- 1885, 2257, 1885, 1885, 1885, 2256, 2237, 2237,
5432
- 2237, 2252, 2261, 2237, 2237, 2237, 2237, 2237,
5433
- 2237, 1941, 2237, 2237, 1915, 2239, 2239, 2239,
5434
- 2262, 2239, 2239, 2239, 2239, 2239, 2239, 2239,
5435
- 1941, 2239, 2239, 1915, 1942, 1886, 1887, 1886,
5436
- 1885, 1885, 1885, 2258, 1885, 1885, 1942, 1885,
5437
- 1885, 1885, 1885, 2256, 2237, 1890, 1891, 1890,
5438
- 1889, 1889, 1889, 2265, 2266, 1889, 1889, 2237,
5439
- 1889, 1889, 2264, 1889, 1889, 2263, 3, 1890,
5440
- 1891, 1890, 1889, 1889, 1889, 2266, 1889, 1889,
5441
- 3, 1889, 1889, 2264, 1889, 1889, 1889, 2263,
5442
- 1942, 1890, 1891, 1890, 2267, 2267, 1889, 2266,
5443
- 2268, 1889, 1889, 1942, 1889, 1889, 2264, 1889,
5444
- 1889, 1889, 2263, 1942, 1890, 1891, 1890, 1889,
5445
- 1889, 1889, 2266, 2268, 1889, 1889, 1942, 1889,
5446
- 1889, 2264, 1889, 1889, 1889, 2263, 1942, 1942,
5447
- 1942, 2261, 1942, 1942, 1942, 1942, 1942, 1942,
5410
+ 1877, 1877, 2247, 1877, 1877, 1942, 1877, 1877,
5411
+ 2246, 1877, 1877, 1877, 2245, 1942, 1880, 1881,
5412
+ 1880, 1879, 1879, 1879, 2250, 1879, 1879, 1942,
5413
+ 1879, 1879, 2249, 1879, 1879, 1879, 2248, 1942,
5414
+ 1880, 1881, 1880, 2251, 2251, 1879, 2250, 2252,
5415
+ 1879, 1879, 1942, 1879, 1879, 2249, 1879, 1879,
5416
+ 1879, 2248, 1942, 1880, 1881, 1880, 1879, 1879,
5417
+ 1879, 2250, 2252, 1879, 1879, 1942, 1879, 1879,
5418
+ 2249, 1879, 1879, 1879, 2248, 2238, 2238, 2238,
5419
+ 2253, 2238, 2238, 2238, 2238, 2238, 2238, 2238,
5420
+ 1941, 2238, 2238, 1915, 1942, 1880, 1881, 1880,
5421
+ 1879, 1879, 1879, 2250, 1879, 1879, 1942, 1879,
5422
+ 1879, 1879, 1879, 2248, 1942, 1880, 1881, 1880,
5423
+ 1883, 1883, 1883, 2256, 1883, 1883, 1942, 1883,
5424
+ 1883, 2255, 1883, 1883, 1883, 2254, 1942, 1886,
5425
+ 1887, 1886, 1885, 1885, 1885, 2259, 1885, 1885,
5426
+ 1942, 1885, 1885, 2258, 1885, 1885, 1885, 2257,
5427
+ 1942, 1886, 1887, 1886, 2260, 2260, 1885, 2259,
5428
+ 2261, 1885, 1885, 1942, 1885, 1885, 2258, 1885,
5429
+ 1885, 1885, 2257, 1942, 1886, 1887, 1886, 1885,
5430
+ 1885, 1885, 2259, 2261, 1885, 1885, 1942, 1885,
5431
+ 1885, 2258, 1885, 1885, 1885, 2257, 2238, 2238,
5432
+ 2238, 2253, 2262, 2238, 2238, 2238, 2238, 2238,
5433
+ 2238, 1941, 2238, 2238, 1915, 2240, 2240, 2240,
5434
+ 2263, 2240, 2240, 2240, 2240, 2240, 2240, 2240,
5435
+ 1941, 2240, 2240, 1915, 1942, 1886, 1887, 1886,
5436
+ 1885, 1885, 1885, 2259, 1885, 1885, 1942, 1885,
5437
+ 1885, 1885, 1885, 2257, 2238, 1890, 1891, 1890,
5438
+ 1889, 1889, 1889, 2266, 2267, 1889, 1889, 2238,
5439
+ 1889, 1889, 2265, 1889, 1889, 2264, 3, 1890,
5440
+ 1891, 1890, 1889, 1889, 1889, 2267, 1889, 1889,
5441
+ 3, 1889, 1889, 2265, 1889, 1889, 1889, 2264,
5442
+ 1942, 1890, 1891, 1890, 2268, 2268, 1889, 2267,
5443
+ 2269, 1889, 1889, 1942, 1889, 1889, 2265, 1889,
5444
+ 1889, 1889, 2264, 1942, 1890, 1891, 1890, 1889,
5445
+ 1889, 1889, 2267, 2269, 1889, 1889, 1942, 1889,
5446
+ 1889, 2265, 1889, 1889, 1889, 2264, 1942, 1942,
5447
+ 1942, 2262, 1942, 1942, 1942, 1942, 1942, 1942,
5448
5448
  1941, 1942, 1942, 1942, 1915, 1942, 1890, 1891,
5449
- 1890, 1889, 1889, 1889, 2266, 1889, 1889, 1942,
5450
- 1889, 1889, 1889, 1889, 2263, 1894, 1952, 1952,
5451
- 1952, 147, 148, 149, 1952, 146, 2270, 2271,
5452
- 2269, 2273, 2272, 0
5449
+ 1890, 1889, 1889, 1889, 2267, 1889, 1889, 1942,
5450
+ 1889, 1889, 1889, 1889, 2264, 1894, 1952, 1952,
5451
+ 1952, 147, 148, 149, 1952, 146, 2271, 2272,
5452
+ 2270, 2274, 2273, 0
5453
5453
  };
5454
5454
 
5455
5455
  static const short _redcloth_inline_trans_targs[] = {
@@ -5721,23 +5721,23 @@ static const short _redcloth_inline_trans_targs[] = {
5721
5721
  1699, 1701, 1510, 1510, 1700, 1511, 1702, 1703,
5722
5722
  1705, 1706, 1707, 1705, 1708, 1709, 1711, 1714,
5723
5723
  1711, 1713, 1714, 1510, 1510, 1511, 1715, 1716,
5724
- 1510, 1510, 625, 1510, 621, 1722, 1721, 1510,
5725
- 1725, 1724, 1726, 627, 633, 688, 744, 776,
5726
- 1510, 1510, 1510, 1510, 1510, 753, 765, 1510,
5727
- 1739, 1510, 784, 793, 785, 650, 1745, 637,
5728
- 665, 1749, 663, 1753, 664, 649, 1510, 1510,
5729
- 1510, 1510, 1767, 1769, 1767, 1769, 1771, 1510,
5730
- 1510, 1770, 1772, 1511, 1774, 1777, 1775, 1776,
5731
- 967, 1778, 1510, 969, 970, 1417, 1418, 1419,
5732
- 1421, 1422, 1453, 1454, 1455, 1456, 1457, 1458,
5733
- 1475, 1480, 1492, 1500, 1781, 1784, 1787, 1790,
5734
- 1793, 1798, 1803, 1805, 1808, 1811, 1813, 1816,
5735
- 1819, 1821, 1829, 1832, 1836, 1510, 1510, 1510,
5736
- 1510, 1841, 1510, 1510, 1845, 1846, 1850, 1845,
5737
- 1846, 1848, 1847, 1849, 1511, 1851, 1852, 1857,
5738
- 1851, 1852, 1854, 1853, 1856, 1855, 1511, 1858,
5739
- 1859, 1858, 1861, 1860, 1862, 1865, 0, 1866,
5740
- 1865, 1505
5724
+ 1510, 1510, 625, 1510, 621, 1722, 623, 1721,
5725
+ 1510, 1725, 1724, 1726, 627, 633, 688, 744,
5726
+ 776, 1510, 1510, 1510, 1510, 1510, 753, 765,
5727
+ 1510, 1739, 1510, 784, 793, 785, 650, 1745,
5728
+ 637, 665, 1749, 663, 1753, 664, 649, 1510,
5729
+ 1510, 1510, 1510, 1767, 1769, 1767, 1769, 1771,
5730
+ 1510, 1510, 1770, 1772, 1511, 1774, 1777, 1775,
5731
+ 1776, 967, 1778, 1510, 969, 970, 1417, 1418,
5732
+ 1419, 1421, 1422, 1453, 1454, 1455, 1456, 1457,
5733
+ 1458, 1475, 1480, 1492, 1500, 1781, 1784, 1787,
5734
+ 1790, 1793, 1798, 1803, 1805, 1808, 1811, 1813,
5735
+ 1816, 1819, 1821, 1829, 1832, 1836, 1510, 1510,
5736
+ 1510, 1510, 1841, 1510, 1510, 1845, 1846, 1850,
5737
+ 1845, 1846, 1848, 1847, 1849, 1511, 1851, 1852,
5738
+ 1857, 1851, 1852, 1854, 1853, 1856, 1855, 1511,
5739
+ 1858, 1859, 1858, 1861, 1860, 1862, 1865, 0,
5740
+ 1866, 1865, 1505
5741
5741
  };
5742
5742
 
5743
5743
  static const short _redcloth_inline_trans_actions[] = {
@@ -6009,23 +6009,23 @@ static const short _redcloth_inline_trans_actions[] = {
6009
6009
  3, 275, 103, 47, 0, 242, 275, 275,
6010
6010
  275, 3, 275, 239, 275, 275, 285, 285,
6011
6011
  275, 3, 275, 109, 55, 251, 275, 275,
6012
- 75, 79, 0, 164, 0, 29, 0, 123,
6013
- 275, 275, 0, 0, 0, 0, 0, 0,
6014
- 179, 173, 182, 99, 170, 149, 149, 167,
6015
- 0, 176, 3, 3, 3, 3, 266, 3,
6016
- 3, 266, 3, 266, 3, 3, 115, 65,
6017
- 113, 63, 285, 285, 275, 275, 3, 97,
6018
- 39, 275, 275, 233, 0, 0, 275, 275,
6019
- 3, 263, 125, 0, 5, 5, 5, 5,
6020
- 5, 0, 1, 5, 5, 5, 0, 0,
6021
- 0, 5, 5, 0, 257, 257, 257, 257,
6012
+ 75, 79, 0, 164, 3, 29, 3, 0,
6013
+ 123, 275, 275, 0, 0, 0, 0, 0,
6014
+ 0, 179, 173, 182, 99, 170, 149, 149,
6015
+ 167, 0, 176, 3, 3, 3, 3, 266,
6016
+ 3, 3, 266, 3, 266, 3, 3, 115,
6017
+ 65, 113, 63, 285, 285, 275, 275, 3,
6018
+ 97, 39, 275, 275, 233, 0, 0, 275,
6019
+ 275, 3, 263, 125, 0, 5, 5, 5,
6020
+ 5, 5, 0, 1, 5, 5, 5, 0,
6021
+ 0, 0, 5, 5, 0, 257, 257, 257,
6022
6022
  257, 257, 257, 257, 257, 257, 257, 257,
6023
- 257, 257, 257, 257, 239, 105, 49, 107,
6024
- 51, 245, 117, 67, 285, 285, 285, 275,
6025
- 275, 3, 275, 275, 245, 285, 285, 310,
6026
- 275, 275, 3, 275, 275, 0, 248, 275,
6027
- 275, 245, 3, 275, 275, 33, 0, 29,
6028
- 35, 0
6023
+ 257, 257, 257, 257, 257, 239, 105, 49,
6024
+ 107, 51, 245, 117, 67, 285, 285, 285,
6025
+ 275, 275, 3, 275, 275, 245, 285, 285,
6026
+ 310, 275, 275, 3, 275, 275, 0, 248,
6027
+ 275, 275, 245, 3, 275, 275, 33, 0,
6028
+ 29, 35, 0
6029
6029
  };
6030
6030
 
6031
6031
  static const short _redcloth_inline_to_state_actions[] = {
@@ -6718,25 +6718,25 @@ static const short _redcloth_inline_eof_trans[] = {
6718
6718
  1943, 2112, 2123, 2112, 2123, 1943, 1943, 1943,
6719
6719
  2112, 4, 1943, 1943, 1943, 1943, 1943, 1943,
6720
6720
  2140, 2140, 1943, 1943, 1943, 1953, 1953, 2148,
6721
- 2148, 2148, 2148, 2152, 1943, 1943, 1943, 1953,
6722
- 2161, 2162, 2163, 2163, 2163, 2163, 2164, 2164,
6723
- 2164, 2165, 2168, 2168, 2170, 2165, 2170, 2165,
6724
- 2168, 2168, 2170, 2165, 2168, 2168, 2170, 2165,
6725
- 2168, 2168, 2170, 2165, 2170, 2165, 2170, 2165,
6726
- 2170, 2165, 1953, 2183, 1953, 2185, 1943, 1943,
6727
- 2192, 1943, 1943, 2192, 1943, 1943, 1943, 1943,
6728
- 1943, 1943, 2203, 1953, 1977, 1977, 1977, 1977,
6721
+ 2148, 2148, 2148, 2153, 1943, 1943, 1943, 1953,
6722
+ 2162, 2163, 2164, 2164, 2164, 2164, 2165, 2165,
6723
+ 2165, 2166, 2169, 2169, 2171, 2166, 2171, 2166,
6724
+ 2169, 2169, 2171, 2166, 2169, 2169, 2171, 2166,
6725
+ 2169, 2169, 2171, 2166, 2171, 2166, 2171, 2166,
6726
+ 2171, 2166, 1953, 2184, 1953, 2186, 1943, 1943,
6727
+ 2193, 1943, 1943, 2193, 1943, 1943, 1943, 1943,
6728
+ 1943, 1943, 2204, 1953, 1977, 1977, 1977, 1977,
6729
6729
  1977, 1977, 1977, 1977, 1977, 1977, 1977, 1977,
6730
6730
  1977, 1977, 1977, 1977, 1977, 1977, 1977, 1977,
6731
6731
  1977, 1977, 1977, 1977, 1977, 1977, 1977, 1977,
6732
6732
  1977, 1977, 1977, 1977, 1977, 1977, 1977, 1977,
6733
6733
  1977, 1977, 1977, 1977, 1977, 1977, 1977, 1977,
6734
6734
  1977, 1977, 1977, 1977, 1977, 1977, 1977, 1977,
6735
- 1977, 1977, 1977, 2112, 2112, 2238, 2238, 2240,
6736
- 2238, 2238, 2243, 1953, 1943, 1943, 1943, 1943,
6737
- 2238, 1943, 1943, 1943, 1943, 1943, 2238, 2240,
6738
- 1943, 2238, 4, 1943, 1943, 1943, 1943, 1953,
6739
- 1953, 0, 2273
6735
+ 1977, 1977, 1977, 2112, 2112, 2239, 2239, 2241,
6736
+ 2239, 2239, 2244, 1953, 1943, 1943, 1943, 1943,
6737
+ 2239, 1943, 1943, 1943, 1943, 1943, 2239, 2241,
6738
+ 1943, 2239, 4, 1943, 1943, 1943, 1943, 1953,
6739
+ 1953, 0, 2274
6740
6740
  };
6741
6741
 
6742
6742
  static const int redcloth_inline_start = 1510;
@@ -70,7 +70,7 @@
70
70
  caps = ( upper{3,} >A %*T ) >X ;
71
71
  dim_digit = [0-9.]+ ;
72
72
  prime = ("'" | '"')?;
73
- dim_noactions = dim_digit prime (("x" | " x ") dim_digit prime) (("x" | " x ") dim_digit prime)? ;
73
+ dim_noactions = dim_digit prime (("x" | " x ") dim_digit prime) %T (("x" | " x ") dim_digit prime)? ;
74
74
  dim = dim_noactions >X >A %T ;
75
75
  tm = [Tt] [Mm] ;
76
76
  trademark = " "? ( "[" tm "]" | "(" tm ")" ) ;
@@ -1,6 +1,11 @@
1
1
  $:.unshift(File.dirname(__FILE__))
2
2
 
3
- Object.send(:remove_const, :RedCloth) if Object.const_defined?(:RedCloth) # in case this is a frozen gem in Rails 2.1 and RedCloth 3.0.4 was already loaded by Rails' ActionView::Helpers::TextHelper. This appears to be fixed in Edge Rails [51e4106].
3
+ # If this is a frozen gem in Rails 2.1 and RedCloth 3.x was already
4
+ # loaded by Rails' ActionView::Helpers::TextHelper, the user will get
5
+ # "redcloth_scan.bundle: Class is not a module (TypeError)"
6
+ # This hack is to work around that Rails loading problem. The problem
7
+ # appears to be fixed in Edge Rails [51e4106].
8
+ Object.send(:remove_const, :RedCloth) if Object.const_defined?(:RedCloth) && RedCloth.is_a?(Class)
4
9
 
5
10
  require 'redcloth_scan'
6
11
  require 'redcloth/version'
@@ -2,7 +2,7 @@ module RedCloth
2
2
  module VERSION
3
3
  MAJOR = 4
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
  RELEASE_CANDIDATE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
Binary file
Binary file
@@ -157,6 +157,10 @@ desc: The letter 'x' becomes a dimension sign when used between digits.
157
157
  in: "Observe: 2x3."
158
158
  html: "<p>Observe: 2&#215;3.</p>"
159
159
  ---
160
+ name: dimension sign with space after
161
+ in: "The room is 2x3 inches big."
162
+ html: "<p>The room is 2&#215;3 inches big.</p>"
163
+ ---
160
164
  name: dimension sign with spaces
161
165
  in: "Observe: 2 x 4."
162
166
  html: "<p>Observe: 2 &#215; 4.</p>"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RedCloth
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Jason Garber
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-15 00:00:00 -04:00
12
+ date: 2008-08-18 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: RedCloth-4.0.2 - Textile parser for Ruby. http://redcloth.org/
16
+ description: RedCloth-4.0.3 - Textile parser for Ruby. http://redcloth.org/
17
17
  email: redcloth-upwards@rubyforge.org
18
18
  executables: []
19
19
 
@@ -101,6 +101,6 @@ rubyforge_project: redcloth
101
101
  rubygems_version: 1.1.1
102
102
  signing_key:
103
103
  specification_version: 2
104
- summary: RedCloth-4.0.2 - Textile parser for Ruby. http://redcloth.org/
104
+ summary: RedCloth-4.0.3 - Textile parser for Ruby. http://redcloth.org/
105
105
  test_files: []
106
106