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 +7 -0
- data/ext/redcloth_scan/redcloth_inline.c +174 -174
- data/ext/redcloth_scan/redcloth_inline.rl +1 -1
- data/lib/redcloth.rb +6 -1
- data/lib/redcloth/version.rb +1 -1
- data/lib/redcloth_scan.bundle +0 -0
- data/lib/redcloth_scan.so +0 -0
- data/test/basic.yml +4 -0
- metadata +4 -4
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,
|
5294
|
-
868, 2147, 2147, 2148,
|
5295
|
-
870, 872, 863, 872,
|
5296
|
-
|
5297
|
-
1942, 1942, 1942,
|
5298
|
-
869, 1942, 1942, 1942, 1942, 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
|
-
|
5303
|
-
883, 1952,
|
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,
|
5306
|
-
|
5307
|
-
|
5308
|
-
|
5309
|
-
1091, 1088,
|
5310
|
-
1089, 1142, 1100, 893, 1089, 1142, 1100,
|
5311
|
-
|
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,
|
5317
|
-
|
5318
|
-
1853, 1853, 1853, 1942, 1853, 1853,
|
5319
|
-
1853,
|
5320
|
-
1247,
|
5321
|
-
1247,
|
5322
|
-
1248, 1249, 1248,
|
5323
|
-
1247,
|
5324
|
-
1247, 1247,
|
5325
|
-
1247, 1247,
|
5326
|
-
1942, 1247, 1247,
|
5327
|
-
|
5328
|
-
|
5329
|
-
1249, 1248, 1247, 1247, 1247,
|
5330
|
-
1247, 1247, 1942, 1247, 1247, 1247,
|
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,
|
5332
|
+
1942, 1942, 2197, 1942, 2198, 1942, 1915, 1942,
|
5333
5333
|
1943, 1943, 1942, 1942, 1942, 1944, 1942, 1942,
|
5334
|
-
1942, 1942, 1942,
|
5335
|
-
1942, 1943, 1943,
|
5336
|
-
1942, 1942, 1942, 1942, 1942,
|
5337
|
-
1942, 1915, 1942,
|
5338
|
-
1942, 1942, 1942, 1942, 1942,
|
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,
|
5341
|
-
1942, 1915,
|
5342
|
-
|
5343
|
-
|
5344
|
-
|
5345
|
-
|
5346
|
-
1976, 1283, 1284, 1287, 1285, 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,
|
5349
|
-
1282, 1976, 1315, 1316, 1317, 1318, 1976,
|
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,
|
5351
|
+
1314, 1976, 1315, 1316, 1317, 1318, 1295, 2222,
|
5352
5352
|
1976, 1314, 1976, 1336, 1337, 1340, 1341, 1976,
|
5353
|
-
|
5353
|
+
2223, 1976, 1334, 1976, 1336, 1337, 1336, 1338,
|
5354
5354
|
1976, 1334, 1976, 1336, 1337, 1336, 1341, 1976,
|
5355
|
-
|
5356
|
-
1976,
|
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,
|
5359
|
-
1396, 1393, 1367,
|
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,
|
5362
|
-
1336, 1337, 1340, 1338, 1976,
|
5363
|
-
1976, 1283, 1284, 1287, 1465, 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,
|
5365
|
+
1358, 2226, 1358, 1447, 1358, 1450, 1451, 1450,
|
5366
5366
|
1452, 1449, 1393, 1358, 1447, 1976, 1315, 1316,
|
5367
|
-
1317, 1328, 1976,
|
5368
|
-
1337, 1336, 1338, 1976,
|
5369
|
-
1315, 1316, 1317, 1328, 1295,
|
5370
|
-
1535, 1548, 1549, 1551, 1550, 1535,
|
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,
|
5373
|
-
1548, 1549, 1548, 1550, 1535,
|
5374
|
-
1546, 1535, 1542, 1543, 1544, 1540, 1535,
|
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,
|
5378
|
-
1487, 1486, 1478,
|
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,
|
5380
|
+
1454, 2231, 1478, 1976, 1321, 1322, 1368, 1369,
|
5381
5381
|
1370, 1371, 1976, 1320, 1478, 1484, 1485, 1484,
|
5382
|
-
1486, 1478,
|
5383
|
-
1532, 1528, 1478,
|
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,
|
5386
|
-
1478, 1529, 1366,
|
5387
|
-
1366,
|
5388
|
-
1284, 1287, 1465, 1295,
|
5389
|
-
1484, 1485, 1487, 1486, 1495,
|
5390
|
-
1535, 1548, 1549, 1551, 1550, 1559,
|
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,
|
5393
|
-
1452, 1449, 1393, 1416,
|
5394
|
-
1394, 1395, 1394, 1396, 1393, 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
|
-
|
5396
|
+
2235, 1367, 1385, 1367, 1386, 1387, 1388, 1389,
|
5397
5397
|
1384, 1367, 1385, 1358, 1450, 1451, 1450, 1452,
|
5398
|
-
1449, 1393, 1358,
|
5399
|
-
1381, 1382, 1378, 1383, 1384, 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,
|
5403
|
-
1378, 1383, 1384, 1416,
|
5404
|
-
854, 855, 854, 856,
|
5405
|
-
854, 855, 854, 856, 2111, 853,
|
5406
|
-
|
5407
|
-
1890,
|
5408
|
-
1890, 1892,
|
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,
|
5411
|
-
|
5412
|
-
1880, 1879, 1879, 1879,
|
5413
|
-
1879, 1879,
|
5414
|
-
1880, 1881, 1880,
|
5415
|
-
1879, 1879, 1942, 1879, 1879,
|
5416
|
-
1879,
|
5417
|
-
1879,
|
5418
|
-
|
5419
|
-
|
5420
|
-
1941,
|
5421
|
-
1879, 1879, 1879,
|
5422
|
-
1879, 1879, 1879,
|
5423
|
-
1883, 1883, 1883,
|
5424
|
-
1883,
|
5425
|
-
1887, 1886, 1885, 1885, 1885,
|
5426
|
-
1942, 1885, 1885,
|
5427
|
-
1942, 1886, 1887, 1886,
|
5428
|
-
|
5429
|
-
1885, 1885,
|
5430
|
-
1885, 1885,
|
5431
|
-
1885,
|
5432
|
-
|
5433
|
-
|
5434
|
-
|
5435
|
-
1941,
|
5436
|
-
1885, 1885, 1885,
|
5437
|
-
1885, 1885, 1885,
|
5438
|
-
1889, 1889, 1889,
|
5439
|
-
1889, 1889,
|
5440
|
-
1891, 1890, 1889, 1889, 1889,
|
5441
|
-
3, 1889, 1889,
|
5442
|
-
1942, 1890, 1891, 1890,
|
5443
|
-
|
5444
|
-
1889, 1889,
|
5445
|
-
1889, 1889,
|
5446
|
-
1889,
|
5447
|
-
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,
|
5450
|
-
1889, 1889, 1889, 1889,
|
5451
|
-
1952, 147, 148, 149, 1952, 146,
|
5452
|
-
|
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,
|
5725
|
-
1725, 1724, 1726, 627, 633, 688, 744,
|
5726
|
-
1510, 1510, 1510, 1510, 1510, 753, 765,
|
5727
|
-
1739, 1510, 784, 793, 785, 650, 1745,
|
5728
|
-
665, 1749, 663, 1753, 664, 649, 1510,
|
5729
|
-
1510, 1510, 1767, 1769, 1767, 1769, 1771,
|
5730
|
-
1510, 1770, 1772, 1511, 1774, 1777, 1775,
|
5731
|
-
967, 1778, 1510, 969, 970, 1417, 1418,
|
5732
|
-
1421, 1422, 1453, 1454, 1455, 1456, 1457,
|
5733
|
-
1475, 1480, 1492, 1500, 1781, 1784, 1787,
|
5734
|
-
1793, 1798, 1803, 1805, 1808, 1811, 1813,
|
5735
|
-
1819, 1821, 1829, 1832, 1836, 1510, 1510,
|
5736
|
-
1510, 1841, 1510, 1510, 1845, 1846, 1850,
|
5737
|
-
1846, 1848, 1847, 1849, 1511, 1851, 1852,
|
5738
|
-
1851, 1852, 1854, 1853, 1856, 1855, 1511,
|
5739
|
-
1859, 1858, 1861, 1860, 1862, 1865, 0,
|
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,
|
6013
|
-
|
6014
|
-
179, 173, 182, 99, 170, 149, 149,
|
6015
|
-
0, 176, 3, 3, 3, 3, 266,
|
6016
|
-
3, 266, 3, 266, 3, 3, 115,
|
6017
|
-
113, 63, 285, 285, 275, 275, 3,
|
6018
|
-
39, 275, 275, 233, 0, 0, 275,
|
6019
|
-
3, 263, 125, 0, 5, 5, 5,
|
6020
|
-
5, 0, 1, 5, 5, 5, 0,
|
6021
|
-
0, 5, 5, 0, 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,
|
6024
|
-
51, 245, 117, 67, 285, 285, 285,
|
6025
|
-
275, 3, 275, 275, 245, 285, 285,
|
6026
|
-
275, 275, 3, 275, 275, 0, 248,
|
6027
|
-
275, 245, 3, 275, 275, 33, 0,
|
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,
|
6722
|
-
|
6723
|
-
|
6724
|
-
|
6725
|
-
|
6726
|
-
|
6727
|
-
|
6728
|
-
1943, 1943,
|
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,
|
6736
|
-
|
6737
|
-
|
6738
|
-
1943,
|
6739
|
-
1953, 0,
|
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 ")" ) ;
|
data/lib/redcloth.rb
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
$:.unshift(File.dirname(__FILE__))
|
2
2
|
|
3
|
-
|
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'
|
data/lib/redcloth/version.rb
CHANGED
data/lib/redcloth_scan.bundle
CHANGED
Binary file
|
data/lib/redcloth_scan.so
CHANGED
Binary file
|
data/test/basic.yml
CHANGED
@@ -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×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×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 × 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.
|
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-
|
12
|
+
date: 2008-08-18 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description: RedCloth-4.0.
|
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.
|
104
|
+
summary: RedCloth-4.0.3 - Textile parser for Ruby. http://redcloth.org/
|
105
105
|
test_files: []
|
106
106
|
|