@gmb/bitmark-parser-generator 1.5.12 → 1.5.13

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.
Files changed (48) hide show
  1. package/dist/browser/bitmark-parser-generator.min.js +1 -1
  2. package/dist/browser/bundle-report.html +2 -2
  3. package/dist/cjs/ast/Ast.js +13 -13
  4. package/dist/cjs/ast/Ast.js.map +1 -1
  5. package/dist/cjs/generated/build-info.js +1 -1
  6. package/dist/cjs/generated/parser/text/text-peggy-parser.js +729 -642
  7. package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
  8. package/dist/cjs/generator/AstWalkerGenerator.js +83 -0
  9. package/dist/cjs/generator/AstWalkerGenerator.js.map +1 -0
  10. package/dist/cjs/generator/bitmark/BitmarkGenerator.js +144 -180
  11. package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
  12. package/dist/cjs/generator/json/JsonGenerator.js +66 -95
  13. package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
  14. package/dist/cjs/generator/text/TextGenerator.js +36 -73
  15. package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
  16. package/dist/cjs/model/enum/TextNodeType.js +1 -0
  17. package/dist/cjs/model/enum/TextNodeType.js.map +1 -1
  18. package/dist/esm/ast/Ast.js +13 -13
  19. package/dist/esm/ast/Ast.js.map +1 -1
  20. package/dist/esm/generated/build-info.js +1 -1
  21. package/dist/esm/generated/parser/text/text-peggy-parser.js +729 -642
  22. package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
  23. package/dist/esm/generator/AstWalkerGenerator.js +80 -0
  24. package/dist/esm/generator/AstWalkerGenerator.js.map +1 -0
  25. package/dist/esm/generator/bitmark/BitmarkGenerator.js +144 -180
  26. package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
  27. package/dist/esm/generator/json/JsonGenerator.js +66 -95
  28. package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
  29. package/dist/esm/generator/text/TextGenerator.js +36 -73
  30. package/dist/esm/generator/text/TextGenerator.js.map +1 -1
  31. package/dist/esm/model/enum/TextNodeType.js +1 -0
  32. package/dist/esm/model/enum/TextNodeType.js.map +1 -1
  33. package/dist/types/ast/Ast.d.ts +4 -8
  34. package/dist/types/ast/Ast.d.ts.map +1 -1
  35. package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -1
  36. package/dist/types/generator/AstWalkerGenerator.d.ts +32 -0
  37. package/dist/types/generator/AstWalkerGenerator.d.ts.map +1 -0
  38. package/dist/types/generator/Generator.d.ts +2 -2
  39. package/dist/types/generator/Generator.d.ts.map +1 -1
  40. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +121 -127
  41. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
  42. package/dist/types/generator/json/JsonGenerator.d.ts +43 -48
  43. package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
  44. package/dist/types/generator/text/TextGenerator.d.ts +13 -17
  45. package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
  46. package/dist/types/model/enum/TextNodeType.d.ts +2 -0
  47. package/dist/types/model/enum/TextNodeType.d.ts.map +1 -1
  48. package/package.json +1 -1
@@ -18,6 +18,15 @@ function unbreakscape(_str) {
18
18
  u_ = Breakscape_1.Breakscape.unbreakscape(u_);
19
19
  return u_;
20
20
  }
21
+ function removeTempParsingParent(obj) {
22
+ if (obj && typeof obj === 'object') {
23
+ delete obj._tempParsingParent; // Remove the property if exists
24
+ Object.keys(obj).forEach(key => {
25
+ // Recursively call the function for all sub-objects
26
+ removeTempParsingParent(obj[key]);
27
+ });
28
+ }
29
+ }
21
30
  function bitmarkPlusPlus(_str) {
22
31
  // if (parser) {
23
32
  // return parser.parse(_str, { startRule: "bitmarkPlusPlus" })
@@ -215,83 +224,84 @@ function peg$parse(input, options) {
215
224
  var peg$c8 = "JavaScript";
216
225
  var peg$c9 = "\u2022 ";
217
226
  var peg$c10 = "\u20221 ";
218
- var peg$c11 = "\u2022+ ";
219
- var peg$c12 = "\u2022- ";
220
- var peg$c13 = "\t";
221
- var peg$c14 = "image";
222
- var peg$c15 = " ";
223
- var peg$c16 = "#";
224
- var peg$c17 = "@";
225
- var peg$c18 = "width";
226
- var peg$c19 = "height";
227
- var peg$c20 = "=";
228
- var peg$c21 = "\uD835\uDC53";
229
- var peg$c22 = "link:";
230
- var peg$c23 = "var:";
231
- var peg$c24 = "code:";
232
- var peg$c25 = "timer";
233
- var peg$c26 = "timer:";
234
- var peg$c27 = "duration:";
235
- var peg$c28 = "P";
236
- var peg$c29 = "color:";
237
- var peg$c30 = "bold";
238
- var peg$c31 = "italic";
239
- var peg$c32 = "light";
240
- var peg$c33 = "highlight";
241
- var peg$c34 = "strike";
242
- var peg$c35 = "subscript";
243
- var peg$c36 = "superscript";
244
- var peg$c37 = "ins";
245
- var peg$c38 = "del";
246
- var peg$c39 = "underline";
247
- var peg$c40 = "doubleUnderline";
248
- var peg$c41 = "circle";
249
- var peg$c42 = "languageEm";
250
- var peg$c43 = "userUnderline";
251
- var peg$c44 = "userDoubleUnderline";
252
- var peg$c45 = "userStrike";
253
- var peg$c46 = "userCircle";
254
- var peg$c47 = "userHighlight";
255
- var peg$c48 = "aqua";
256
- var peg$c49 = "black";
257
- var peg$c50 = "blue";
258
- var peg$c51 = "pink";
259
- var peg$c52 = "fuchsia";
260
- var peg$c53 = "lightgrey";
261
- var peg$c54 = "gray";
262
- var peg$c55 = "darkgray";
263
- var peg$c56 = "green";
264
- var peg$c57 = "lime";
265
- var peg$c58 = "magenta";
266
- var peg$c59 = "maroon";
267
- var peg$c60 = "navy";
268
- var peg$c61 = "olive";
269
- var peg$c62 = "orange";
270
- var peg$c63 = "purple";
271
- var peg$c64 = "red";
272
- var peg$c65 = "silver";
273
- var peg$c66 = "teal";
274
- var peg$c67 = "violet";
275
- var peg$c68 = "white";
276
- var peg$c69 = "yellow";
277
- var peg$c70 = "*";
278
- var peg$c71 = "_";
279
- var peg$c72 = "`";
280
- var peg$c73 = "!";
281
- var peg$c74 = "[!";
282
- var peg$c75 = "]";
283
- var peg$c76 = "\n";
284
- var peg$c77 = "\r\n";
285
- var peg$c78 = "\r";
286
- var peg$c79 = "\u2028";
287
- var peg$c80 = "\u2029";
288
- var peg$c81 = "http";
289
- var peg$c82 = "s";
290
- var peg$c83 = "://";
291
- var peg$c84 = "mailto:";
292
- var peg$c85 = "~";
293
- var peg$c86 = "^";
294
- var peg$c87 = "'";
227
+ var peg$c11 = "\u2022A ";
228
+ var peg$c12 = "\u2022+ ";
229
+ var peg$c13 = "\u2022- ";
230
+ var peg$c14 = "\t";
231
+ var peg$c15 = "image";
232
+ var peg$c16 = " ";
233
+ var peg$c17 = "#";
234
+ var peg$c18 = "@";
235
+ var peg$c19 = "width";
236
+ var peg$c20 = "height";
237
+ var peg$c21 = "=";
238
+ var peg$c22 = "\uD835\uDC53";
239
+ var peg$c23 = "link:";
240
+ var peg$c24 = "var:";
241
+ var peg$c25 = "code:";
242
+ var peg$c26 = "timer";
243
+ var peg$c27 = "timer:";
244
+ var peg$c28 = "duration:";
245
+ var peg$c29 = "P";
246
+ var peg$c30 = "color:";
247
+ var peg$c31 = "bold";
248
+ var peg$c32 = "italic";
249
+ var peg$c33 = "light";
250
+ var peg$c34 = "highlight";
251
+ var peg$c35 = "strike";
252
+ var peg$c36 = "subscript";
253
+ var peg$c37 = "superscript";
254
+ var peg$c38 = "ins";
255
+ var peg$c39 = "del";
256
+ var peg$c40 = "underline";
257
+ var peg$c41 = "doubleUnderline";
258
+ var peg$c42 = "circle";
259
+ var peg$c43 = "languageEm";
260
+ var peg$c44 = "userUnderline";
261
+ var peg$c45 = "userDoubleUnderline";
262
+ var peg$c46 = "userStrike";
263
+ var peg$c47 = "userCircle";
264
+ var peg$c48 = "userHighlight";
265
+ var peg$c49 = "aqua";
266
+ var peg$c50 = "black";
267
+ var peg$c51 = "blue";
268
+ var peg$c52 = "pink";
269
+ var peg$c53 = "fuchsia";
270
+ var peg$c54 = "lightgrey";
271
+ var peg$c55 = "gray";
272
+ var peg$c56 = "darkgray";
273
+ var peg$c57 = "green";
274
+ var peg$c58 = "lime";
275
+ var peg$c59 = "magenta";
276
+ var peg$c60 = "maroon";
277
+ var peg$c61 = "navy";
278
+ var peg$c62 = "olive";
279
+ var peg$c63 = "orange";
280
+ var peg$c64 = "purple";
281
+ var peg$c65 = "red";
282
+ var peg$c66 = "silver";
283
+ var peg$c67 = "teal";
284
+ var peg$c68 = "violet";
285
+ var peg$c69 = "white";
286
+ var peg$c70 = "yellow";
287
+ var peg$c71 = "*";
288
+ var peg$c72 = "_";
289
+ var peg$c73 = "`";
290
+ var peg$c74 = "!";
291
+ var peg$c75 = "[!";
292
+ var peg$c76 = "]";
293
+ var peg$c77 = "\n";
294
+ var peg$c78 = "\r\n";
295
+ var peg$c79 = "\r";
296
+ var peg$c80 = "\u2028";
297
+ var peg$c81 = "\u2029";
298
+ var peg$c82 = "http";
299
+ var peg$c83 = "s";
300
+ var peg$c84 = "://";
301
+ var peg$c85 = "mailto:";
302
+ var peg$c86 = "~";
303
+ var peg$c87 = "^";
304
+ var peg$c88 = "'";
295
305
  var peg$r0 = /^[ \t]/;
296
306
  var peg$r1 = /^[0-9]/;
297
307
  var peg$r2 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
@@ -312,100 +322,101 @@ function peg$parse(input, options) {
312
322
  var peg$e10 = peg$literalExpectation("JavaScript", false);
313
323
  var peg$e11 = peg$literalExpectation("\u2022 ", false);
314
324
  var peg$e12 = peg$literalExpectation("\u20221 ", false);
315
- var peg$e13 = peg$literalExpectation("\u2022+ ", false);
316
- var peg$e14 = peg$literalExpectation("\u2022- ", false);
317
- var peg$e15 = peg$anyExpectation();
318
- var peg$e16 = peg$literalExpectation("\t", false);
319
- var peg$e17 = peg$literalExpectation("image", false);
320
- var peg$e18 = peg$literalExpectation(" ", false);
321
- var peg$e19 = peg$literalExpectation("#", false);
322
- var peg$e20 = peg$literalExpectation("@", false);
323
- var peg$e21 = peg$classExpectation([["0", "9"]], false, false);
324
- var peg$e22 = peg$literalExpectation("width", false);
325
- var peg$e23 = peg$literalExpectation("height", false);
326
- var peg$e24 = peg$otherExpectation("StyledString");
327
- var peg$e25 = peg$literalExpectation("=", false);
328
- var peg$e26 = peg$literalExpectation("\uD835\uDC53", false);
329
- var peg$e27 = peg$literalExpectation("link:", false);
330
- var peg$e28 = peg$literalExpectation("var:", false);
331
- var peg$e29 = peg$literalExpectation("code:", false);
332
- var peg$e30 = peg$literalExpectation("timer", false);
333
- var peg$e31 = peg$literalExpectation("timer:", false);
334
- var peg$e32 = peg$literalExpectation("duration:", false);
335
- var peg$e33 = peg$literalExpectation("P", false);
336
- var peg$e34 = peg$literalExpectation("color:", false);
337
- var peg$e35 = peg$literalExpectation("bold", false);
338
- var peg$e36 = peg$literalExpectation("italic", false);
339
- var peg$e37 = peg$literalExpectation("light", false);
340
- var peg$e38 = peg$literalExpectation("highlight", false);
341
- var peg$e39 = peg$literalExpectation("strike", false);
342
- var peg$e40 = peg$literalExpectation("subscript", false);
343
- var peg$e41 = peg$literalExpectation("superscript", false);
344
- var peg$e42 = peg$literalExpectation("ins", false);
345
- var peg$e43 = peg$literalExpectation("del", false);
346
- var peg$e44 = peg$literalExpectation("underline", false);
347
- var peg$e45 = peg$literalExpectation("doubleUnderline", false);
348
- var peg$e46 = peg$literalExpectation("circle", false);
349
- var peg$e47 = peg$literalExpectation("languageEm", false);
350
- var peg$e48 = peg$literalExpectation("userUnderline", false);
351
- var peg$e49 = peg$literalExpectation("userDoubleUnderline", false);
352
- var peg$e50 = peg$literalExpectation("userStrike", false);
353
- var peg$e51 = peg$literalExpectation("userCircle", false);
354
- var peg$e52 = peg$literalExpectation("userHighlight", false);
355
- var peg$e53 = peg$literalExpectation("aqua", false);
356
- var peg$e54 = peg$literalExpectation("black", false);
357
- var peg$e55 = peg$literalExpectation("blue", false);
358
- var peg$e56 = peg$literalExpectation("pink", false);
359
- var peg$e57 = peg$literalExpectation("fuchsia", false);
360
- var peg$e58 = peg$literalExpectation("lightgrey", false);
361
- var peg$e59 = peg$literalExpectation("gray", false);
362
- var peg$e60 = peg$literalExpectation("darkgray", false);
363
- var peg$e61 = peg$literalExpectation("green", false);
364
- var peg$e62 = peg$literalExpectation("lime", false);
365
- var peg$e63 = peg$literalExpectation("magenta", false);
366
- var peg$e64 = peg$literalExpectation("maroon", false);
367
- var peg$e65 = peg$literalExpectation("navy", false);
368
- var peg$e66 = peg$literalExpectation("olive", false);
369
- var peg$e67 = peg$literalExpectation("orange", false);
370
- var peg$e68 = peg$literalExpectation("purple", false);
371
- var peg$e69 = peg$literalExpectation("red", false);
372
- var peg$e70 = peg$literalExpectation("silver", false);
373
- var peg$e71 = peg$literalExpectation("teal", false);
374
- var peg$e72 = peg$literalExpectation("violet", false);
375
- var peg$e73 = peg$literalExpectation("white", false);
376
- var peg$e74 = peg$literalExpectation("yellow", false);
377
- var peg$e75 = peg$otherExpectation("MinimalStyledText");
378
- var peg$e76 = peg$otherExpectation("MinimalStyledString");
379
- var peg$e77 = peg$literalExpectation("*", false);
380
- var peg$e78 = peg$literalExpectation("_", false);
381
- var peg$e79 = peg$literalExpectation("`", false);
382
- var peg$e80 = peg$literalExpectation("!", false);
383
- var peg$e81 = peg$literalExpectation("[!", false);
384
- var peg$e82 = peg$literalExpectation("]", false);
385
- var peg$e83 = peg$otherExpectation("Line Terminator");
386
- var peg$e84 = peg$literalExpectation("\n", false);
387
- var peg$e85 = peg$literalExpectation("\r\n", false);
388
- var peg$e86 = peg$literalExpectation("\r", false);
389
- var peg$e87 = peg$literalExpectation("\u2028", false);
390
- var peg$e88 = peg$literalExpectation("\u2029", false);
391
- var peg$e89 = peg$otherExpectation("whitespace in line");
392
- var peg$e90 = peg$otherExpectation("space");
393
- var peg$e91 = peg$otherExpectation("language tag separator");
394
- var peg$e92 = peg$otherExpectation("white space, separator");
395
- var peg$e93 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
396
- var peg$e94 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
397
- var peg$e95 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
398
- var peg$e96 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
399
- var peg$e97 = peg$literalExpectation("http", false);
400
- var peg$e98 = peg$literalExpectation("s", false);
401
- var peg$e99 = peg$literalExpectation("://", false);
402
- var peg$e100 = peg$literalExpectation("mailto:", false);
403
- var peg$e101 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
404
- var peg$e102 = peg$literalExpectation("~", false);
405
- var peg$e103 = peg$literalExpectation("^", false);
406
- var peg$e104 = peg$literalExpectation("'", false);
325
+ var peg$e13 = peg$literalExpectation("\u2022A ", false);
326
+ var peg$e14 = peg$literalExpectation("\u2022+ ", false);
327
+ var peg$e15 = peg$literalExpectation("\u2022- ", false);
328
+ var peg$e16 = peg$anyExpectation();
329
+ var peg$e17 = peg$literalExpectation("\t", false);
330
+ var peg$e18 = peg$literalExpectation("image", false);
331
+ var peg$e19 = peg$literalExpectation(" ", false);
332
+ var peg$e20 = peg$literalExpectation("#", false);
333
+ var peg$e21 = peg$literalExpectation("@", false);
334
+ var peg$e22 = peg$classExpectation([["0", "9"]], false, false);
335
+ var peg$e23 = peg$literalExpectation("width", false);
336
+ var peg$e24 = peg$literalExpectation("height", false);
337
+ var peg$e25 = peg$otherExpectation("StyledString");
338
+ var peg$e26 = peg$literalExpectation("=", false);
339
+ var peg$e27 = peg$literalExpectation("\uD835\uDC53", false);
340
+ var peg$e28 = peg$literalExpectation("link:", false);
341
+ var peg$e29 = peg$literalExpectation("var:", false);
342
+ var peg$e30 = peg$literalExpectation("code:", false);
343
+ var peg$e31 = peg$literalExpectation("timer", false);
344
+ var peg$e32 = peg$literalExpectation("timer:", false);
345
+ var peg$e33 = peg$literalExpectation("duration:", false);
346
+ var peg$e34 = peg$literalExpectation("P", false);
347
+ var peg$e35 = peg$literalExpectation("color:", false);
348
+ var peg$e36 = peg$literalExpectation("bold", false);
349
+ var peg$e37 = peg$literalExpectation("italic", false);
350
+ var peg$e38 = peg$literalExpectation("light", false);
351
+ var peg$e39 = peg$literalExpectation("highlight", false);
352
+ var peg$e40 = peg$literalExpectation("strike", false);
353
+ var peg$e41 = peg$literalExpectation("subscript", false);
354
+ var peg$e42 = peg$literalExpectation("superscript", false);
355
+ var peg$e43 = peg$literalExpectation("ins", false);
356
+ var peg$e44 = peg$literalExpectation("del", false);
357
+ var peg$e45 = peg$literalExpectation("underline", false);
358
+ var peg$e46 = peg$literalExpectation("doubleUnderline", false);
359
+ var peg$e47 = peg$literalExpectation("circle", false);
360
+ var peg$e48 = peg$literalExpectation("languageEm", false);
361
+ var peg$e49 = peg$literalExpectation("userUnderline", false);
362
+ var peg$e50 = peg$literalExpectation("userDoubleUnderline", false);
363
+ var peg$e51 = peg$literalExpectation("userStrike", false);
364
+ var peg$e52 = peg$literalExpectation("userCircle", false);
365
+ var peg$e53 = peg$literalExpectation("userHighlight", false);
366
+ var peg$e54 = peg$literalExpectation("aqua", false);
367
+ var peg$e55 = peg$literalExpectation("black", false);
368
+ var peg$e56 = peg$literalExpectation("blue", false);
369
+ var peg$e57 = peg$literalExpectation("pink", false);
370
+ var peg$e58 = peg$literalExpectation("fuchsia", false);
371
+ var peg$e59 = peg$literalExpectation("lightgrey", false);
372
+ var peg$e60 = peg$literalExpectation("gray", false);
373
+ var peg$e61 = peg$literalExpectation("darkgray", false);
374
+ var peg$e62 = peg$literalExpectation("green", false);
375
+ var peg$e63 = peg$literalExpectation("lime", false);
376
+ var peg$e64 = peg$literalExpectation("magenta", false);
377
+ var peg$e65 = peg$literalExpectation("maroon", false);
378
+ var peg$e66 = peg$literalExpectation("navy", false);
379
+ var peg$e67 = peg$literalExpectation("olive", false);
380
+ var peg$e68 = peg$literalExpectation("orange", false);
381
+ var peg$e69 = peg$literalExpectation("purple", false);
382
+ var peg$e70 = peg$literalExpectation("red", false);
383
+ var peg$e71 = peg$literalExpectation("silver", false);
384
+ var peg$e72 = peg$literalExpectation("teal", false);
385
+ var peg$e73 = peg$literalExpectation("violet", false);
386
+ var peg$e74 = peg$literalExpectation("white", false);
387
+ var peg$e75 = peg$literalExpectation("yellow", false);
388
+ var peg$e76 = peg$otherExpectation("MinimalStyledText");
389
+ var peg$e77 = peg$otherExpectation("MinimalStyledString");
390
+ var peg$e78 = peg$literalExpectation("*", false);
391
+ var peg$e79 = peg$literalExpectation("_", false);
392
+ var peg$e80 = peg$literalExpectation("`", false);
393
+ var peg$e81 = peg$literalExpectation("!", false);
394
+ var peg$e82 = peg$literalExpectation("[!", false);
395
+ var peg$e83 = peg$literalExpectation("]", false);
396
+ var peg$e84 = peg$otherExpectation("Line Terminator");
397
+ var peg$e85 = peg$literalExpectation("\n", false);
398
+ var peg$e86 = peg$literalExpectation("\r\n", false);
399
+ var peg$e87 = peg$literalExpectation("\r", false);
400
+ var peg$e88 = peg$literalExpectation("\u2028", false);
401
+ var peg$e89 = peg$literalExpectation("\u2029", false);
402
+ var peg$e90 = peg$otherExpectation("whitespace in line");
403
+ var peg$e91 = peg$otherExpectation("space");
404
+ var peg$e92 = peg$otherExpectation("language tag separator");
405
+ var peg$e93 = peg$otherExpectation("white space, separator");
406
+ var peg$e94 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
407
+ var peg$e95 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
408
+ var peg$e96 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
409
+ var peg$e97 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
410
+ var peg$e98 = peg$literalExpectation("http", false);
411
+ var peg$e99 = peg$literalExpectation("s", false);
412
+ var peg$e100 = peg$literalExpectation("://", false);
413
+ var peg$e101 = peg$literalExpectation("mailto:", false);
414
+ var peg$e102 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
415
+ var peg$e103 = peg$literalExpectation("~", false);
416
+ var peg$e104 = peg$literalExpectation("^", false);
417
+ var peg$e105 = peg$literalExpectation("'", false);
407
418
  var peg$f0 = function (b) { return Object.assign({}, b); };
408
- var peg$f1 = function (b) { return Object.assign({}, b); };
419
+ var peg$f1 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
409
420
  var peg$f2 = function (b) { return Object.assign({}, b); };
410
421
  var peg$f3 = function (b) { return Object.assign({}, b); };
411
422
  var peg$f4 = function (b) { return Object.assign({}, b); };
@@ -422,17 +433,22 @@ function peg$parse(input, options) {
422
433
  var peg$f15 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
423
434
  var peg$f16 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
424
435
  var peg$f17 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
425
- var peg$f18 = function () { return { type: "bulletList" }; };
426
- var peg$f19 = function () { return { type: "orderedList" }; };
427
- var peg$f20 = function () { return { type: "taskList" }; };
428
- var peg$f21 = function (lt, listItem, lines, c) { return c; };
429
- var peg$f22 = function (lt, listItem, lines, children) {
430
- let parent = 'bulletList';
436
+ var peg$f18 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
437
+ var peg$f19 = function () { return { type: "bulletList" }; };
438
+ var peg$f20 = function () { return { type: "orderedList" }; };
439
+ var peg$f21 = function () { return { type: "letteredList" }; };
440
+ var peg$f22 = function () { return { type: "taskList" }; };
441
+ var peg$f23 = function (lt, listItem, lines, c) { return c; };
442
+ var peg$f24 = function (lt, listItem, lines, children) {
443
+ let _tempParsingParent = 'bulletList';
431
444
  if ('•1 ' == lt) {
432
- parent = 'orderedList';
445
+ _tempParsingParent = 'orderedList';
446
+ }
447
+ if ('•A ' == lt) {
448
+ _tempParsingParent = 'letteredList';
433
449
  }
434
450
  if ('•+ ' == lt || '•- ' == lt) {
435
- parent = 'taskList';
451
+ _tempParsingParent = 'taskList';
436
452
  }
437
453
  let li = (listItem + lines.join("")).trim();
438
454
  let item = {
@@ -441,21 +457,21 @@ function peg$parse(input, options) {
441
457
  content: bitmarkPlusString(li)
442
458
  };
443
459
  let content = [item];
444
- if (children && children[0] && children[0].parent) {
460
+ if (children && children[0] && children[0]._tempParsingParent) {
445
461
  let sublist = {
446
- type: children[0].parent,
462
+ type: children[0]._tempParsingParent,
447
463
  attrs: { start: 1 },
448
464
  content: children,
449
- parent: ""
465
+ _tempParsingParent: ""
450
466
  };
451
- if ("orderedList" == sublist.parent) {
467
+ if ("orderedList" == sublist._tempParsingParent || "letteredList" == sublist._tempParsingParent) {
452
468
  sublist.attrs.start = 1;
453
469
  }
454
470
  content.push(sublist);
455
471
  }
456
472
  let t = "listItem";
457
473
  let attrs = {};
458
- if ("taskList" == parent) {
474
+ if ("taskList" == _tempParsingParent) {
459
475
  t = "taskItem";
460
476
  let checked = false;
461
477
  if ('•+ ' == lt) {
@@ -463,18 +479,18 @@ function peg$parse(input, options) {
463
479
  }
464
480
  attrs = { checked };
465
481
  }
466
- return { type: t, content, parent, attrs };
482
+ return { type: t, content, _tempParsingParent, attrs };
467
483
  };
468
- var peg$f23 = function (ll) { return ll; };
469
- var peg$f24 = function (i) { return i.join("") === indent; };
470
- var peg$f25 = function (i) { return i.length > indent.length; };
471
- var peg$f26 = function (i) { indentStack.push(indent); indent = i.join(""); };
472
- var peg$f27 = function () { indent = indentStack.pop(); return true; };
473
- var peg$f28 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
474
- var peg$f29 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
484
+ var peg$f25 = function (ll) { return ll; };
485
+ var peg$f26 = function (i) { return i.join("") === indent; };
486
+ var peg$f27 = function (i) { return i.length > indent.length; };
487
+ var peg$f28 = function (i) { indentStack.push(indent); indent = i.join(""); };
488
+ var peg$f29 = function () { indent = indentStack.pop(); return true; };
475
489
  var peg$f30 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
476
- var peg$f31 = function (t) { return t; };
477
- var peg$f32 = function (t, u, ch) {
490
+ var peg$f31 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
491
+ var peg$f32 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
492
+ var peg$f33 = function (t) { return t; };
493
+ var peg$f34 = function (t, u, ch) {
478
494
  const chain = Object.assign({}, ...ch);
479
495
  let textAlign_ = chain.captionAlign || "left";
480
496
  delete chain.captionAlign;
@@ -492,44 +508,44 @@ function peg$parse(input, options) {
492
508
  };
493
509
  return image;
494
510
  };
495
- var peg$f33 = function (ch) { return ch; };
496
- var peg$f34 = function (str) { return { comment: str }; };
497
- var peg$f35 = function (p, v) { return { [p]: parseInt(v) }; };
498
- var peg$f36 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
499
- var peg$f37 = function (p, v) { return { [p]: v }; };
500
- var peg$f38 = function (p) { return { [p]: true }; };
501
- var peg$f39 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
502
- var peg$f40 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
503
- var peg$f41 = function () { return { "type": "hardBreak" }; };
504
- var peg$f42 = function (t) { return { text: unbreakscape(t), type: "text" }; };
505
- var peg$f43 = function (t) { return { index: +t, type: "bit" }; };
506
- var peg$f44 = function (t, marks) { if (!marks)
511
+ var peg$f35 = function (ch) { return ch; };
512
+ var peg$f36 = function (str) { return { comment: str }; };
513
+ var peg$f37 = function (p, v) { return { [p]: parseInt(v) }; };
514
+ var peg$f38 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
515
+ var peg$f39 = function (p, v) { return { [p]: v }; };
516
+ var peg$f40 = function (p) { return { [p]: true }; };
517
+ var peg$f41 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
518
+ var peg$f42 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
519
+ var peg$f43 = function () { return { "type": "hardBreak" }; };
520
+ var peg$f44 = function (t) { return { text: unbreakscape(t), type: "text" }; };
521
+ var peg$f45 = function (t) { return { index: +t, type: "bit" }; };
522
+ var peg$f46 = function (t, marks) { if (!marks)
507
523
  marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
508
- var peg$f45 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
509
- var peg$f46 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
510
- var peg$f47 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
511
- var peg$f48 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
512
- var peg$f49 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
513
- var peg$f50 = function (ch) { return ch; };
514
- var peg$f51 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
515
- var peg$f52 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
516
- var peg$f53 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
517
- var peg$f54 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
518
- var peg$f55 = function () { return { type: 'timer', attrs: { name: "" } }; };
519
- var peg$f56 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
520
- var peg$f57 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
521
- var peg$f58 = function (color) { return { type: 'color', attrs: { color } }; };
522
- var peg$f59 = function (style) { return { type: style }; };
523
- var peg$f60 = function (str) { return { type: "comment", comment: str }; };
524
- var peg$f61 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
525
- var peg$f62 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
526
- var peg$f63 = function (t) { return { text: unbreakscape(t), type: "text" }; };
527
- var peg$f64 = function (t) { return { index: +t, type: "bit" }; };
528
- var peg$f65 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
529
- var peg$f66 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
530
- var peg$f67 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
531
- var peg$f68 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
532
- var peg$f69 = function (pr, t) { return { pr, t }; };
524
+ var peg$f47 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
525
+ var peg$f48 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
526
+ var peg$f49 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
527
+ var peg$f50 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
528
+ var peg$f51 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
529
+ var peg$f52 = function (ch) { return ch; };
530
+ var peg$f53 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
531
+ var peg$f54 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
532
+ var peg$f55 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
533
+ var peg$f56 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
534
+ var peg$f57 = function () { return { type: 'timer', attrs: { name: "" } }; };
535
+ var peg$f58 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
536
+ var peg$f59 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
537
+ var peg$f60 = function (color) { return { type: 'color', attrs: { color } }; };
538
+ var peg$f61 = function (style) { return { type: style }; };
539
+ var peg$f62 = function (str) { return { type: "comment", comment: str }; };
540
+ var peg$f63 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
541
+ var peg$f64 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
542
+ var peg$f65 = function (t) { return { text: unbreakscape(t), type: "text" }; };
543
+ var peg$f66 = function (t) { return { index: +t, type: "bit" }; };
544
+ var peg$f67 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
545
+ var peg$f68 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
546
+ var peg$f69 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
547
+ var peg$f70 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
548
+ var peg$f71 = function (pr, t) { return { pr, t }; };
533
549
  var peg$currPos = 0;
534
550
  var peg$savedPos = 0;
535
551
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -1258,7 +1274,7 @@ function peg$parse(input, options) {
1258
1274
  }
1259
1275
  return s0;
1260
1276
  }
1261
- function peg$parseTaskListTag() {
1277
+ function peg$parseLetteredListTag() {
1262
1278
  var s0;
1263
1279
  if (input.substr(peg$currPos, 3) === peg$c11) {
1264
1280
  s0 = peg$c11;
@@ -1270,15 +1286,29 @@ function peg$parse(input, options) {
1270
1286
  peg$fail(peg$e13);
1271
1287
  }
1272
1288
  }
1289
+ return s0;
1290
+ }
1291
+ function peg$parseTaskListTag() {
1292
+ var s0;
1293
+ if (input.substr(peg$currPos, 3) === peg$c12) {
1294
+ s0 = peg$c12;
1295
+ peg$currPos += 3;
1296
+ }
1297
+ else {
1298
+ s0 = peg$FAILED;
1299
+ if (peg$silentFails === 0) {
1300
+ peg$fail(peg$e14);
1301
+ }
1302
+ }
1273
1303
  if (s0 === peg$FAILED) {
1274
- if (input.substr(peg$currPos, 3) === peg$c12) {
1275
- s0 = peg$c12;
1304
+ if (input.substr(peg$currPos, 3) === peg$c13) {
1305
+ s0 = peg$c13;
1276
1306
  peg$currPos += 3;
1277
1307
  }
1278
1308
  else {
1279
1309
  s0 = peg$FAILED;
1280
1310
  if (peg$silentFails === 0) {
1281
- peg$fail(peg$e14);
1311
+ peg$fail(peg$e15);
1282
1312
  }
1283
1313
  }
1284
1314
  }
@@ -1290,7 +1320,10 @@ function peg$parse(input, options) {
1290
1320
  if (s0 === peg$FAILED) {
1291
1321
  s0 = peg$parseOrderedListTag();
1292
1322
  if (s0 === peg$FAILED) {
1293
- s0 = peg$parseTaskListTag();
1323
+ s0 = peg$parseLetteredListTag();
1324
+ if (s0 === peg$FAILED) {
1325
+ s0 = peg$parseTaskListTag();
1326
+ }
1294
1327
  }
1295
1328
  }
1296
1329
  return s0;
@@ -1362,7 +1395,7 @@ function peg$parse(input, options) {
1362
1395
  }
1363
1396
  if (s0 === peg$FAILED) {
1364
1397
  s0 = peg$currPos;
1365
- s1 = peg$parseTaskListContainer();
1398
+ s1 = peg$parseLetteredListContainer();
1366
1399
  if (s1 !== peg$FAILED) {
1367
1400
  s2 = [];
1368
1401
  s3 = peg$parseBulletListLine();
@@ -1392,6 +1425,39 @@ function peg$parse(input, options) {
1392
1425
  peg$currPos = s0;
1393
1426
  s0 = peg$FAILED;
1394
1427
  }
1428
+ if (s0 === peg$FAILED) {
1429
+ s0 = peg$currPos;
1430
+ s1 = peg$parseTaskListContainer();
1431
+ if (s1 !== peg$FAILED) {
1432
+ s2 = [];
1433
+ s3 = peg$parseBulletListLine();
1434
+ if (s3 !== peg$FAILED) {
1435
+ while (s3 !== peg$FAILED) {
1436
+ s2.push(s3);
1437
+ s3 = peg$parseBulletListLine();
1438
+ }
1439
+ }
1440
+ else {
1441
+ s2 = peg$FAILED;
1442
+ }
1443
+ if (s2 !== peg$FAILED) {
1444
+ s3 = peg$parseNL();
1445
+ if (s3 === peg$FAILED) {
1446
+ s3 = null;
1447
+ }
1448
+ peg$savedPos = s0;
1449
+ s0 = peg$f18(s1, s2);
1450
+ }
1451
+ else {
1452
+ peg$currPos = s0;
1453
+ s0 = peg$FAILED;
1454
+ }
1455
+ }
1456
+ else {
1457
+ peg$currPos = s0;
1458
+ s0 = peg$FAILED;
1459
+ }
1460
+ }
1395
1461
  }
1396
1462
  }
1397
1463
  return s0;
@@ -1412,7 +1478,7 @@ function peg$parse(input, options) {
1412
1478
  }
1413
1479
  if (s1 !== peg$FAILED) {
1414
1480
  peg$savedPos = s0;
1415
- s1 = peg$f18();
1481
+ s1 = peg$f19();
1416
1482
  }
1417
1483
  s0 = s1;
1418
1484
  return s0;
@@ -1433,7 +1499,28 @@ function peg$parse(input, options) {
1433
1499
  }
1434
1500
  if (s1 !== peg$FAILED) {
1435
1501
  peg$savedPos = s0;
1436
- s1 = peg$f19();
1502
+ s1 = peg$f20();
1503
+ }
1504
+ s0 = s1;
1505
+ return s0;
1506
+ }
1507
+ function peg$parseLetteredListContainer() {
1508
+ var s0, s1, s2;
1509
+ s0 = peg$currPos;
1510
+ s1 = peg$currPos;
1511
+ peg$silentFails++;
1512
+ s2 = peg$parseLetteredListTag();
1513
+ peg$silentFails--;
1514
+ if (s2 !== peg$FAILED) {
1515
+ peg$currPos = s1;
1516
+ s1 = undefined;
1517
+ }
1518
+ else {
1519
+ s1 = peg$FAILED;
1520
+ }
1521
+ if (s1 !== peg$FAILED) {
1522
+ peg$savedPos = s0;
1523
+ s1 = peg$f21();
1437
1524
  }
1438
1525
  s0 = s1;
1439
1526
  return s0;
@@ -1454,7 +1541,7 @@ function peg$parse(input, options) {
1454
1541
  }
1455
1542
  if (s1 !== peg$FAILED) {
1456
1543
  peg$savedPos = s0;
1457
- s1 = peg$f20();
1544
+ s1 = peg$f22();
1458
1545
  }
1459
1546
  s0 = s1;
1460
1547
  return s0;
@@ -1489,7 +1576,7 @@ function peg$parse(input, options) {
1489
1576
  else {
1490
1577
  s8 = peg$FAILED;
1491
1578
  if (peg$silentFails === 0) {
1492
- peg$fail(peg$e15);
1579
+ peg$fail(peg$e16);
1493
1580
  }
1494
1581
  }
1495
1582
  if (s8 !== peg$FAILED) {
@@ -1527,7 +1614,7 @@ function peg$parse(input, options) {
1527
1614
  else {
1528
1615
  s8 = peg$FAILED;
1529
1616
  if (peg$silentFails === 0) {
1530
- peg$fail(peg$e15);
1617
+ peg$fail(peg$e16);
1531
1618
  }
1532
1619
  }
1533
1620
  if (s8 !== peg$FAILED) {
@@ -1569,7 +1656,7 @@ function peg$parse(input, options) {
1569
1656
  s8 = peg$parseDEDENT();
1570
1657
  if (s8 !== peg$FAILED) {
1571
1658
  peg$savedPos = s5;
1572
- s5 = peg$f21(s2, s3, s4, s7);
1659
+ s5 = peg$f23(s2, s3, s4, s7);
1573
1660
  }
1574
1661
  else {
1575
1662
  peg$currPos = s5;
@@ -1584,7 +1671,7 @@ function peg$parse(input, options) {
1584
1671
  s5 = null;
1585
1672
  }
1586
1673
  peg$savedPos = s0;
1587
- s0 = peg$f22(s2, s3, s4, s5);
1674
+ s0 = peg$f24(s2, s3, s4, s5);
1588
1675
  }
1589
1676
  else {
1590
1677
  peg$currPos = s0;
@@ -1649,7 +1736,7 @@ function peg$parse(input, options) {
1649
1736
  else {
1650
1737
  s9 = peg$FAILED;
1651
1738
  if (peg$silentFails === 0) {
1652
- peg$fail(peg$e15);
1739
+ peg$fail(peg$e16);
1653
1740
  }
1654
1741
  }
1655
1742
  if (s9 !== peg$FAILED) {
@@ -1688,7 +1775,7 @@ function peg$parse(input, options) {
1688
1775
  else {
1689
1776
  s9 = peg$FAILED;
1690
1777
  if (peg$silentFails === 0) {
1691
- peg$fail(peg$e15);
1778
+ peg$fail(peg$e16);
1692
1779
  }
1693
1780
  }
1694
1781
  if (s9 !== peg$FAILED) {
@@ -1732,7 +1819,7 @@ function peg$parse(input, options) {
1732
1819
  }
1733
1820
  if (s4 !== peg$FAILED) {
1734
1821
  peg$savedPos = s0;
1735
- s0 = peg$f23(s4);
1822
+ s0 = peg$f25(s4);
1736
1823
  }
1737
1824
  else {
1738
1825
  peg$currPos = s0;
@@ -1798,30 +1885,30 @@ function peg$parse(input, options) {
1798
1885
  s0 = peg$currPos;
1799
1886
  s1 = [];
1800
1887
  if (input.charCodeAt(peg$currPos) === 9) {
1801
- s2 = peg$c13;
1888
+ s2 = peg$c14;
1802
1889
  peg$currPos++;
1803
1890
  }
1804
1891
  else {
1805
1892
  s2 = peg$FAILED;
1806
1893
  if (peg$silentFails === 0) {
1807
- peg$fail(peg$e16);
1894
+ peg$fail(peg$e17);
1808
1895
  }
1809
1896
  }
1810
1897
  while (s2 !== peg$FAILED) {
1811
1898
  s1.push(s2);
1812
1899
  if (input.charCodeAt(peg$currPos) === 9) {
1813
- s2 = peg$c13;
1900
+ s2 = peg$c14;
1814
1901
  peg$currPos++;
1815
1902
  }
1816
1903
  else {
1817
1904
  s2 = peg$FAILED;
1818
1905
  if (peg$silentFails === 0) {
1819
- peg$fail(peg$e16);
1906
+ peg$fail(peg$e17);
1820
1907
  }
1821
1908
  }
1822
1909
  }
1823
1910
  peg$savedPos = peg$currPos;
1824
- s2 = peg$f24(s1);
1911
+ s2 = peg$f26(s1);
1825
1912
  if (s2) {
1826
1913
  s2 = undefined;
1827
1914
  }
@@ -1845,26 +1932,26 @@ function peg$parse(input, options) {
1845
1932
  s1 = peg$currPos;
1846
1933
  s2 = [];
1847
1934
  if (input.charCodeAt(peg$currPos) === 9) {
1848
- s3 = peg$c13;
1935
+ s3 = peg$c14;
1849
1936
  peg$currPos++;
1850
1937
  }
1851
1938
  else {
1852
1939
  s3 = peg$FAILED;
1853
1940
  if (peg$silentFails === 0) {
1854
- peg$fail(peg$e16);
1941
+ peg$fail(peg$e17);
1855
1942
  }
1856
1943
  }
1857
1944
  if (s3 !== peg$FAILED) {
1858
1945
  while (s3 !== peg$FAILED) {
1859
1946
  s2.push(s3);
1860
1947
  if (input.charCodeAt(peg$currPos) === 9) {
1861
- s3 = peg$c13;
1948
+ s3 = peg$c14;
1862
1949
  peg$currPos++;
1863
1950
  }
1864
1951
  else {
1865
1952
  s3 = peg$FAILED;
1866
1953
  if (peg$silentFails === 0) {
1867
- peg$fail(peg$e16);
1954
+ peg$fail(peg$e17);
1868
1955
  }
1869
1956
  }
1870
1957
  }
@@ -1874,7 +1961,7 @@ function peg$parse(input, options) {
1874
1961
  }
1875
1962
  if (s2 !== peg$FAILED) {
1876
1963
  peg$savedPos = peg$currPos;
1877
- s3 = peg$f25(s2);
1964
+ s3 = peg$f27(s2);
1878
1965
  if (s3) {
1879
1966
  s3 = undefined;
1880
1967
  }
@@ -1883,7 +1970,7 @@ function peg$parse(input, options) {
1883
1970
  }
1884
1971
  if (s3 !== peg$FAILED) {
1885
1972
  peg$savedPos = s1;
1886
- s1 = peg$f26(s2);
1973
+ s1 = peg$f28(s2);
1887
1974
  }
1888
1975
  else {
1889
1976
  peg$currPos = s1;
@@ -1907,7 +1994,7 @@ function peg$parse(input, options) {
1907
1994
  function peg$parseDEDENT() {
1908
1995
  var s0;
1909
1996
  peg$savedPos = peg$currPos;
1910
- s0 = peg$f27();
1997
+ s0 = peg$f29();
1911
1998
  if (s0) {
1912
1999
  s0 = undefined;
1913
2000
  }
@@ -1934,7 +2021,7 @@ function peg$parse(input, options) {
1934
2021
  s2 = peg$parseParagraphBody();
1935
2022
  if (s2 !== peg$FAILED) {
1936
2023
  peg$savedPos = s0;
1937
- s0 = peg$f28(s2);
2024
+ s0 = peg$f30(s2);
1938
2025
  }
1939
2026
  else {
1940
2027
  peg$currPos = s0;
@@ -1952,7 +2039,7 @@ function peg$parse(input, options) {
1952
2039
  s2 = peg$parseParagraphBody();
1953
2040
  if (s2 !== peg$FAILED) {
1954
2041
  peg$savedPos = s0;
1955
- s0 = peg$f29(s2);
2042
+ s0 = peg$f31(s2);
1956
2043
  }
1957
2044
  else {
1958
2045
  peg$currPos = s0;
@@ -1969,7 +2056,7 @@ function peg$parse(input, options) {
1969
2056
  if (s1 !== peg$FAILED) {
1970
2057
  s2 = '';
1971
2058
  peg$savedPos = s0;
1972
- s0 = peg$f30(s2);
2059
+ s0 = peg$f32(s2);
1973
2060
  }
1974
2061
  else {
1975
2062
  peg$currPos = s0;
@@ -2135,14 +2222,14 @@ function peg$parse(input, options) {
2135
2222
  }
2136
2223
  function peg$parseImageType() {
2137
2224
  var s0;
2138
- if (input.substr(peg$currPos, 5) === peg$c14) {
2139
- s0 = peg$c14;
2225
+ if (input.substr(peg$currPos, 5) === peg$c15) {
2226
+ s0 = peg$c15;
2140
2227
  peg$currPos += 5;
2141
2228
  }
2142
2229
  else {
2143
2230
  s0 = peg$FAILED;
2144
2231
  if (peg$silentFails === 0) {
2145
- peg$fail(peg$e17);
2232
+ peg$fail(peg$e18);
2146
2233
  }
2147
2234
  }
2148
2235
  return s0;
@@ -2155,7 +2242,7 @@ function peg$parse(input, options) {
2155
2242
  s2 = peg$parseImageType();
2156
2243
  if (s2 !== peg$FAILED) {
2157
2244
  peg$savedPos = s0;
2158
- s0 = peg$f31(s2);
2245
+ s0 = peg$f33(s2);
2159
2246
  }
2160
2247
  else {
2161
2248
  peg$currPos = s0;
@@ -2185,13 +2272,13 @@ function peg$parse(input, options) {
2185
2272
  }
2186
2273
  if (s2 !== peg$FAILED) {
2187
2274
  if (input.charCodeAt(peg$currPos) === 32) {
2188
- s3 = peg$c15;
2275
+ s3 = peg$c16;
2189
2276
  peg$currPos++;
2190
2277
  }
2191
2278
  else {
2192
2279
  s3 = peg$FAILED;
2193
2280
  if (peg$silentFails === 0) {
2194
- peg$fail(peg$e18);
2281
+ peg$fail(peg$e19);
2195
2282
  }
2196
2283
  }
2197
2284
  if (s3 === peg$FAILED) {
@@ -2249,7 +2336,7 @@ function peg$parse(input, options) {
2249
2336
  s8 = null;
2250
2337
  }
2251
2338
  peg$savedPos = s0;
2252
- s0 = peg$f32(s1, s4, s6);
2339
+ s0 = peg$f34(s1, s4, s6);
2253
2340
  }
2254
2341
  else {
2255
2342
  peg$currPos = s0;
@@ -2287,7 +2374,7 @@ function peg$parse(input, options) {
2287
2374
  s2 = peg$parseMediaChainItem();
2288
2375
  }
2289
2376
  peg$savedPos = s0;
2290
- s1 = peg$f33(s1);
2377
+ s1 = peg$f35(s1);
2291
2378
  s0 = s1;
2292
2379
  return s0;
2293
2380
  }
@@ -2295,13 +2382,13 @@ function peg$parse(input, options) {
2295
2382
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
2296
2383
  s0 = peg$currPos;
2297
2384
  if (input.charCodeAt(peg$currPos) === 35) {
2298
- s1 = peg$c16;
2385
+ s1 = peg$c17;
2299
2386
  peg$currPos++;
2300
2387
  }
2301
2388
  else {
2302
2389
  s1 = peg$FAILED;
2303
2390
  if (peg$silentFails === 0) {
2304
- peg$fail(peg$e19);
2391
+ peg$fail(peg$e20);
2305
2392
  }
2306
2393
  }
2307
2394
  if (s1 !== peg$FAILED) {
@@ -2368,7 +2455,7 @@ function peg$parse(input, options) {
2368
2455
  s3 = peg$parseBlockTag();
2369
2456
  if (s3 !== peg$FAILED) {
2370
2457
  peg$savedPos = s0;
2371
- s0 = peg$f34(s2);
2458
+ s0 = peg$f36(s2);
2372
2459
  }
2373
2460
  else {
2374
2461
  peg$currPos = s0;
@@ -2382,13 +2469,13 @@ function peg$parse(input, options) {
2382
2469
  if (s0 === peg$FAILED) {
2383
2470
  s0 = peg$currPos;
2384
2471
  if (input.charCodeAt(peg$currPos) === 64) {
2385
- s1 = peg$c17;
2472
+ s1 = peg$c18;
2386
2473
  peg$currPos++;
2387
2474
  }
2388
2475
  else {
2389
2476
  s1 = peg$FAILED;
2390
2477
  if (peg$silentFails === 0) {
2391
- peg$fail(peg$e20);
2478
+ peg$fail(peg$e21);
2392
2479
  }
2393
2480
  }
2394
2481
  if (s1 === peg$FAILED) {
@@ -2409,25 +2496,25 @@ function peg$parse(input, options) {
2409
2496
  if (s3 !== peg$FAILED) {
2410
2497
  s4 = [];
2411
2498
  if (input.charCodeAt(peg$currPos) === 32) {
2412
- s5 = peg$c15;
2499
+ s5 = peg$c16;
2413
2500
  peg$currPos++;
2414
2501
  }
2415
2502
  else {
2416
2503
  s5 = peg$FAILED;
2417
2504
  if (peg$silentFails === 0) {
2418
- peg$fail(peg$e18);
2505
+ peg$fail(peg$e19);
2419
2506
  }
2420
2507
  }
2421
2508
  while (s5 !== peg$FAILED) {
2422
2509
  s4.push(s5);
2423
2510
  if (input.charCodeAt(peg$currPos) === 32) {
2424
- s5 = peg$c15;
2511
+ s5 = peg$c16;
2425
2512
  peg$currPos++;
2426
2513
  }
2427
2514
  else {
2428
2515
  s5 = peg$FAILED;
2429
2516
  if (peg$silentFails === 0) {
2430
- peg$fail(peg$e18);
2517
+ peg$fail(peg$e19);
2431
2518
  }
2432
2519
  }
2433
2520
  }
@@ -2453,7 +2540,7 @@ function peg$parse(input, options) {
2453
2540
  else {
2454
2541
  s9 = peg$FAILED;
2455
2542
  if (peg$silentFails === 0) {
2456
- peg$fail(peg$e21);
2543
+ peg$fail(peg$e22);
2457
2544
  }
2458
2545
  }
2459
2546
  if (s9 !== peg$FAILED) {
@@ -2492,7 +2579,7 @@ function peg$parse(input, options) {
2492
2579
  else {
2493
2580
  s9 = peg$FAILED;
2494
2581
  if (peg$silentFails === 0) {
2495
- peg$fail(peg$e21);
2582
+ peg$fail(peg$e22);
2496
2583
  }
2497
2584
  }
2498
2585
  if (s9 !== peg$FAILED) {
@@ -2523,7 +2610,7 @@ function peg$parse(input, options) {
2523
2610
  s6 = peg$parseBlockTag();
2524
2611
  if (s6 !== peg$FAILED) {
2525
2612
  peg$savedPos = s0;
2526
- s0 = peg$f35(s2, s5);
2613
+ s0 = peg$f37(s2, s5);
2527
2614
  }
2528
2615
  else {
2529
2616
  peg$currPos = s0;
@@ -2547,13 +2634,13 @@ function peg$parse(input, options) {
2547
2634
  if (s0 === peg$FAILED) {
2548
2635
  s0 = peg$currPos;
2549
2636
  if (input.charCodeAt(peg$currPos) === 64) {
2550
- s1 = peg$c17;
2637
+ s1 = peg$c18;
2551
2638
  peg$currPos++;
2552
2639
  }
2553
2640
  else {
2554
2641
  s1 = peg$FAILED;
2555
2642
  if (peg$silentFails === 0) {
2556
- peg$fail(peg$e20);
2643
+ peg$fail(peg$e21);
2557
2644
  }
2558
2645
  }
2559
2646
  if (s1 === peg$FAILED) {
@@ -2574,25 +2661,25 @@ function peg$parse(input, options) {
2574
2661
  if (s3 !== peg$FAILED) {
2575
2662
  s4 = [];
2576
2663
  if (input.charCodeAt(peg$currPos) === 32) {
2577
- s5 = peg$c15;
2664
+ s5 = peg$c16;
2578
2665
  peg$currPos++;
2579
2666
  }
2580
2667
  else {
2581
2668
  s5 = peg$FAILED;
2582
2669
  if (peg$silentFails === 0) {
2583
- peg$fail(peg$e18);
2670
+ peg$fail(peg$e19);
2584
2671
  }
2585
2672
  }
2586
2673
  while (s5 !== peg$FAILED) {
2587
2674
  s4.push(s5);
2588
2675
  if (input.charCodeAt(peg$currPos) === 32) {
2589
- s5 = peg$c15;
2676
+ s5 = peg$c16;
2590
2677
  peg$currPos++;
2591
2678
  }
2592
2679
  else {
2593
2680
  s5 = peg$FAILED;
2594
2681
  if (peg$silentFails === 0) {
2595
- peg$fail(peg$e18);
2682
+ peg$fail(peg$e19);
2596
2683
  }
2597
2684
  }
2598
2685
  }
@@ -2659,7 +2746,7 @@ function peg$parse(input, options) {
2659
2746
  s6 = peg$parseBlockTag();
2660
2747
  if (s6 !== peg$FAILED) {
2661
2748
  peg$savedPos = s0;
2662
- s0 = peg$f36(s2, s5);
2749
+ s0 = peg$f38(s2, s5);
2663
2750
  }
2664
2751
  else {
2665
2752
  peg$currPos = s0;
@@ -2678,13 +2765,13 @@ function peg$parse(input, options) {
2678
2765
  if (s0 === peg$FAILED) {
2679
2766
  s0 = peg$currPos;
2680
2767
  if (input.charCodeAt(peg$currPos) === 64) {
2681
- s1 = peg$c17;
2768
+ s1 = peg$c18;
2682
2769
  peg$currPos++;
2683
2770
  }
2684
2771
  else {
2685
2772
  s1 = peg$FAILED;
2686
2773
  if (peg$silentFails === 0) {
2687
- peg$fail(peg$e20);
2774
+ peg$fail(peg$e21);
2688
2775
  }
2689
2776
  }
2690
2777
  if (s1 === peg$FAILED) {
@@ -2786,13 +2873,13 @@ function peg$parse(input, options) {
2786
2873
  }
2787
2874
  if (s3 !== peg$FAILED) {
2788
2875
  if (input.charCodeAt(peg$currPos) === 32) {
2789
- s4 = peg$c15;
2876
+ s4 = peg$c16;
2790
2877
  peg$currPos++;
2791
2878
  }
2792
2879
  else {
2793
2880
  s4 = peg$FAILED;
2794
2881
  if (peg$silentFails === 0) {
2795
- peg$fail(peg$e18);
2882
+ peg$fail(peg$e19);
2796
2883
  }
2797
2884
  }
2798
2885
  if (s4 === peg$FAILED) {
@@ -2861,7 +2948,7 @@ function peg$parse(input, options) {
2861
2948
  s6 = peg$parseBlockTag();
2862
2949
  if (s6 !== peg$FAILED) {
2863
2950
  peg$savedPos = s0;
2864
- s0 = peg$f37(s2, s5);
2951
+ s0 = peg$f39(s2, s5);
2865
2952
  }
2866
2953
  else {
2867
2954
  peg$currPos = s0;
@@ -2875,13 +2962,13 @@ function peg$parse(input, options) {
2875
2962
  if (s0 === peg$FAILED) {
2876
2963
  s0 = peg$currPos;
2877
2964
  if (input.charCodeAt(peg$currPos) === 64) {
2878
- s1 = peg$c17;
2965
+ s1 = peg$c18;
2879
2966
  peg$currPos++;
2880
2967
  }
2881
2968
  else {
2882
2969
  s1 = peg$FAILED;
2883
2970
  if (peg$silentFails === 0) {
2884
- peg$fail(peg$e20);
2971
+ peg$fail(peg$e21);
2885
2972
  }
2886
2973
  }
2887
2974
  if (s1 === peg$FAILED) {
@@ -2950,7 +3037,7 @@ function peg$parse(input, options) {
2950
3037
  s3 = peg$parseBlockTag();
2951
3038
  if (s3 !== peg$FAILED) {
2952
3039
  peg$savedPos = s0;
2953
- s0 = peg$f38(s2);
3040
+ s0 = peg$f40(s2);
2954
3041
  }
2955
3042
  else {
2956
3043
  peg$currPos = s0;
@@ -2964,25 +3051,25 @@ function peg$parse(input, options) {
2964
3051
  }
2965
3052
  function peg$parseMediaSizeTags() {
2966
3053
  var s0;
2967
- if (input.substr(peg$currPos, 5) === peg$c18) {
2968
- s0 = peg$c18;
3054
+ if (input.substr(peg$currPos, 5) === peg$c19) {
3055
+ s0 = peg$c19;
2969
3056
  peg$currPos += 5;
2970
3057
  }
2971
3058
  else {
2972
3059
  s0 = peg$FAILED;
2973
3060
  if (peg$silentFails === 0) {
2974
- peg$fail(peg$e22);
3061
+ peg$fail(peg$e23);
2975
3062
  }
2976
3063
  }
2977
3064
  if (s0 === peg$FAILED) {
2978
- if (input.substr(peg$currPos, 6) === peg$c19) {
2979
- s0 = peg$c19;
3065
+ if (input.substr(peg$currPos, 6) === peg$c20) {
3066
+ s0 = peg$c20;
2980
3067
  peg$currPos += 6;
2981
3068
  }
2982
3069
  else {
2983
3070
  s0 = peg$FAILED;
2984
3071
  if (peg$silentFails === 0) {
2985
- peg$fail(peg$e23);
3072
+ peg$fail(peg$e24);
2986
3073
  }
2987
3074
  }
2988
3075
  }
@@ -2994,7 +3081,7 @@ function peg$parse(input, options) {
2994
3081
  s0 = peg$currPos;
2995
3082
  s1 = peg$parseInlineTags();
2996
3083
  peg$savedPos = s0;
2997
- s1 = peg$f39(s1);
3084
+ s1 = peg$f41(s1);
2998
3085
  s0 = s1;
2999
3086
  peg$silentFails--;
3000
3087
  s1 = peg$FAILED;
@@ -3010,7 +3097,7 @@ function peg$parse(input, options) {
3010
3097
  peg$silentFails--;
3011
3098
  s1 = peg$FAILED;
3012
3099
  if (peg$silentFails === 0) {
3013
- peg$fail(peg$e24);
3100
+ peg$fail(peg$e25);
3014
3101
  }
3015
3102
  return s0;
3016
3103
  }
@@ -3034,7 +3121,7 @@ function peg$parse(input, options) {
3034
3121
  }
3035
3122
  }
3036
3123
  peg$savedPos = s0;
3037
- s0 = peg$f40(s1, s2);
3124
+ s0 = peg$f42(s1, s2);
3038
3125
  return s0;
3039
3126
  }
3040
3127
  function peg$parseInlinePlainText() {
@@ -3043,7 +3130,7 @@ function peg$parse(input, options) {
3043
3130
  s1 = peg$parseNL();
3044
3131
  if (s1 !== peg$FAILED) {
3045
3132
  peg$savedPos = s0;
3046
- s1 = peg$f41();
3133
+ s1 = peg$f43();
3047
3134
  }
3048
3135
  s0 = s1;
3049
3136
  if (s0 === peg$FAILED) {
@@ -3186,7 +3273,7 @@ function peg$parse(input, options) {
3186
3273
  }
3187
3274
  if (s1 !== peg$FAILED) {
3188
3275
  peg$savedPos = s0;
3189
- s1 = peg$f42(s1);
3276
+ s1 = peg$f44(s1);
3190
3277
  }
3191
3278
  s0 = s1;
3192
3279
  }
@@ -3195,27 +3282,27 @@ function peg$parse(input, options) {
3195
3282
  function peg$parseInlineHalfTag() {
3196
3283
  var s0;
3197
3284
  if (input.charCodeAt(peg$currPos) === 61) {
3198
- s0 = peg$c20;
3285
+ s0 = peg$c21;
3199
3286
  peg$currPos++;
3200
3287
  }
3201
3288
  else {
3202
3289
  s0 = peg$FAILED;
3203
3290
  if (peg$silentFails === 0) {
3204
- peg$fail(peg$e25);
3291
+ peg$fail(peg$e26);
3205
3292
  }
3206
3293
  }
3207
3294
  return s0;
3208
3295
  }
3209
3296
  function peg$parseInlineLaTexHalfTag() {
3210
3297
  var s0;
3211
- if (input.substr(peg$currPos, 2) === peg$c21) {
3212
- s0 = peg$c21;
3298
+ if (input.substr(peg$currPos, 2) === peg$c22) {
3299
+ s0 = peg$c22;
3213
3300
  peg$currPos += 2;
3214
3301
  }
3215
3302
  else {
3216
3303
  s0 = peg$FAILED;
3217
3304
  if (peg$silentFails === 0) {
3218
- peg$fail(peg$e26);
3305
+ peg$fail(peg$e27);
3219
3306
  }
3220
3307
  }
3221
3308
  return s0;
@@ -3276,7 +3363,7 @@ function peg$parse(input, options) {
3276
3363
  else {
3277
3364
  s4 = peg$FAILED;
3278
3365
  if (peg$silentFails === 0) {
3279
- peg$fail(peg$e21);
3366
+ peg$fail(peg$e22);
3280
3367
  }
3281
3368
  }
3282
3369
  if (s4 !== peg$FAILED) {
@@ -3289,7 +3376,7 @@ function peg$parse(input, options) {
3289
3376
  else {
3290
3377
  s4 = peg$FAILED;
3291
3378
  if (peg$silentFails === 0) {
3292
- peg$fail(peg$e21);
3379
+ peg$fail(peg$e22);
3293
3380
  }
3294
3381
  }
3295
3382
  }
@@ -3307,7 +3394,7 @@ function peg$parse(input, options) {
3307
3394
  s3 = peg$parseBodyBitCloseTag();
3308
3395
  if (s3 !== peg$FAILED) {
3309
3396
  peg$savedPos = s0;
3310
- s0 = peg$f43(s2);
3397
+ s0 = peg$f45(s2);
3311
3398
  }
3312
3399
  else {
3313
3400
  peg$currPos = s0;
@@ -3328,13 +3415,13 @@ function peg$parse(input, options) {
3328
3415
  s1 = peg$parseInlineTag();
3329
3416
  if (s1 !== peg$FAILED) {
3330
3417
  if (input.charCodeAt(peg$currPos) === 32) {
3331
- s2 = peg$c15;
3418
+ s2 = peg$c16;
3332
3419
  peg$currPos++;
3333
3420
  }
3334
3421
  else {
3335
3422
  s2 = peg$FAILED;
3336
3423
  if (peg$silentFails === 0) {
3337
- peg$fail(peg$e18);
3424
+ peg$fail(peg$e19);
3338
3425
  }
3339
3426
  }
3340
3427
  if (s2 === peg$FAILED) {
@@ -3347,13 +3434,13 @@ function peg$parse(input, options) {
3347
3434
  peg$silentFails++;
3348
3435
  s7 = peg$currPos;
3349
3436
  if (input.charCodeAt(peg$currPos) === 32) {
3350
- s8 = peg$c15;
3437
+ s8 = peg$c16;
3351
3438
  peg$currPos++;
3352
3439
  }
3353
3440
  else {
3354
3441
  s8 = peg$FAILED;
3355
3442
  if (peg$silentFails === 0) {
3356
- peg$fail(peg$e18);
3443
+ peg$fail(peg$e19);
3357
3444
  }
3358
3445
  }
3359
3446
  if (s8 === peg$FAILED) {
@@ -3384,7 +3471,7 @@ function peg$parse(input, options) {
3384
3471
  else {
3385
3472
  s7 = peg$FAILED;
3386
3473
  if (peg$silentFails === 0) {
3387
- peg$fail(peg$e15);
3474
+ peg$fail(peg$e16);
3388
3475
  }
3389
3476
  }
3390
3477
  if (s7 !== peg$FAILED) {
@@ -3407,13 +3494,13 @@ function peg$parse(input, options) {
3407
3494
  peg$silentFails++;
3408
3495
  s7 = peg$currPos;
3409
3496
  if (input.charCodeAt(peg$currPos) === 32) {
3410
- s8 = peg$c15;
3497
+ s8 = peg$c16;
3411
3498
  peg$currPos++;
3412
3499
  }
3413
3500
  else {
3414
3501
  s8 = peg$FAILED;
3415
3502
  if (peg$silentFails === 0) {
3416
- peg$fail(peg$e18);
3503
+ peg$fail(peg$e19);
3417
3504
  }
3418
3505
  }
3419
3506
  if (s8 === peg$FAILED) {
@@ -3444,7 +3531,7 @@ function peg$parse(input, options) {
3444
3531
  else {
3445
3532
  s7 = peg$FAILED;
3446
3533
  if (peg$silentFails === 0) {
3447
- peg$fail(peg$e15);
3534
+ peg$fail(peg$e16);
3448
3535
  }
3449
3536
  }
3450
3537
  if (s7 !== peg$FAILED) {
@@ -3463,13 +3550,13 @@ function peg$parse(input, options) {
3463
3550
  }
3464
3551
  s3 = input.substring(s3, peg$currPos);
3465
3552
  if (input.charCodeAt(peg$currPos) === 32) {
3466
- s4 = peg$c15;
3553
+ s4 = peg$c16;
3467
3554
  peg$currPos++;
3468
3555
  }
3469
3556
  else {
3470
3557
  s4 = peg$FAILED;
3471
3558
  if (peg$silentFails === 0) {
3472
- peg$fail(peg$e18);
3559
+ peg$fail(peg$e19);
3473
3560
  }
3474
3561
  }
3475
3562
  if (s4 === peg$FAILED) {
@@ -3480,7 +3567,7 @@ function peg$parse(input, options) {
3480
3567
  s6 = peg$parseAttrChain();
3481
3568
  if (s6 !== peg$FAILED) {
3482
3569
  peg$savedPos = s0;
3483
- s0 = peg$f44(s3, s6);
3570
+ s0 = peg$f46(s3, s6);
3484
3571
  }
3485
3572
  else {
3486
3573
  peg$currPos = s0;
@@ -3501,13 +3588,13 @@ function peg$parse(input, options) {
3501
3588
  s1 = peg$parseBoldTag();
3502
3589
  if (s1 !== peg$FAILED) {
3503
3590
  if (input.charCodeAt(peg$currPos) === 32) {
3504
- s2 = peg$c15;
3591
+ s2 = peg$c16;
3505
3592
  peg$currPos++;
3506
3593
  }
3507
3594
  else {
3508
3595
  s2 = peg$FAILED;
3509
3596
  if (peg$silentFails === 0) {
3510
- peg$fail(peg$e18);
3597
+ peg$fail(peg$e19);
3511
3598
  }
3512
3599
  }
3513
3600
  if (s2 === peg$FAILED) {
@@ -3520,13 +3607,13 @@ function peg$parse(input, options) {
3520
3607
  peg$silentFails++;
3521
3608
  s7 = peg$currPos;
3522
3609
  if (input.charCodeAt(peg$currPos) === 32) {
3523
- s8 = peg$c15;
3610
+ s8 = peg$c16;
3524
3611
  peg$currPos++;
3525
3612
  }
3526
3613
  else {
3527
3614
  s8 = peg$FAILED;
3528
3615
  if (peg$silentFails === 0) {
3529
- peg$fail(peg$e18);
3616
+ peg$fail(peg$e19);
3530
3617
  }
3531
3618
  }
3532
3619
  if (s8 === peg$FAILED) {
@@ -3557,7 +3644,7 @@ function peg$parse(input, options) {
3557
3644
  else {
3558
3645
  s7 = peg$FAILED;
3559
3646
  if (peg$silentFails === 0) {
3560
- peg$fail(peg$e15);
3647
+ peg$fail(peg$e16);
3561
3648
  }
3562
3649
  }
3563
3650
  if (s7 !== peg$FAILED) {
@@ -3580,13 +3667,13 @@ function peg$parse(input, options) {
3580
3667
  peg$silentFails++;
3581
3668
  s7 = peg$currPos;
3582
3669
  if (input.charCodeAt(peg$currPos) === 32) {
3583
- s8 = peg$c15;
3670
+ s8 = peg$c16;
3584
3671
  peg$currPos++;
3585
3672
  }
3586
3673
  else {
3587
3674
  s8 = peg$FAILED;
3588
3675
  if (peg$silentFails === 0) {
3589
- peg$fail(peg$e18);
3676
+ peg$fail(peg$e19);
3590
3677
  }
3591
3678
  }
3592
3679
  if (s8 === peg$FAILED) {
@@ -3617,7 +3704,7 @@ function peg$parse(input, options) {
3617
3704
  else {
3618
3705
  s7 = peg$FAILED;
3619
3706
  if (peg$silentFails === 0) {
3620
- peg$fail(peg$e15);
3707
+ peg$fail(peg$e16);
3621
3708
  }
3622
3709
  }
3623
3710
  if (s7 !== peg$FAILED) {
@@ -3636,13 +3723,13 @@ function peg$parse(input, options) {
3636
3723
  }
3637
3724
  s3 = input.substring(s3, peg$currPos);
3638
3725
  if (input.charCodeAt(peg$currPos) === 32) {
3639
- s4 = peg$c15;
3726
+ s4 = peg$c16;
3640
3727
  peg$currPos++;
3641
3728
  }
3642
3729
  else {
3643
3730
  s4 = peg$FAILED;
3644
3731
  if (peg$silentFails === 0) {
3645
- peg$fail(peg$e18);
3732
+ peg$fail(peg$e19);
3646
3733
  }
3647
3734
  }
3648
3735
  if (s4 === peg$FAILED) {
@@ -3651,7 +3738,7 @@ function peg$parse(input, options) {
3651
3738
  s5 = peg$parseBoldTag();
3652
3739
  if (s5 !== peg$FAILED) {
3653
3740
  peg$savedPos = s0;
3654
- s0 = peg$f45(s3);
3741
+ s0 = peg$f47(s3);
3655
3742
  }
3656
3743
  else {
3657
3744
  peg$currPos = s0;
@@ -3667,13 +3754,13 @@ function peg$parse(input, options) {
3667
3754
  s1 = peg$parseItalicTag();
3668
3755
  if (s1 !== peg$FAILED) {
3669
3756
  if (input.charCodeAt(peg$currPos) === 32) {
3670
- s2 = peg$c15;
3757
+ s2 = peg$c16;
3671
3758
  peg$currPos++;
3672
3759
  }
3673
3760
  else {
3674
3761
  s2 = peg$FAILED;
3675
3762
  if (peg$silentFails === 0) {
3676
- peg$fail(peg$e18);
3763
+ peg$fail(peg$e19);
3677
3764
  }
3678
3765
  }
3679
3766
  if (s2 === peg$FAILED) {
@@ -3686,13 +3773,13 @@ function peg$parse(input, options) {
3686
3773
  peg$silentFails++;
3687
3774
  s7 = peg$currPos;
3688
3775
  if (input.charCodeAt(peg$currPos) === 32) {
3689
- s8 = peg$c15;
3776
+ s8 = peg$c16;
3690
3777
  peg$currPos++;
3691
3778
  }
3692
3779
  else {
3693
3780
  s8 = peg$FAILED;
3694
3781
  if (peg$silentFails === 0) {
3695
- peg$fail(peg$e18);
3782
+ peg$fail(peg$e19);
3696
3783
  }
3697
3784
  }
3698
3785
  if (s8 === peg$FAILED) {
@@ -3723,7 +3810,7 @@ function peg$parse(input, options) {
3723
3810
  else {
3724
3811
  s7 = peg$FAILED;
3725
3812
  if (peg$silentFails === 0) {
3726
- peg$fail(peg$e15);
3813
+ peg$fail(peg$e16);
3727
3814
  }
3728
3815
  }
3729
3816
  if (s7 !== peg$FAILED) {
@@ -3746,13 +3833,13 @@ function peg$parse(input, options) {
3746
3833
  peg$silentFails++;
3747
3834
  s7 = peg$currPos;
3748
3835
  if (input.charCodeAt(peg$currPos) === 32) {
3749
- s8 = peg$c15;
3836
+ s8 = peg$c16;
3750
3837
  peg$currPos++;
3751
3838
  }
3752
3839
  else {
3753
3840
  s8 = peg$FAILED;
3754
3841
  if (peg$silentFails === 0) {
3755
- peg$fail(peg$e18);
3842
+ peg$fail(peg$e19);
3756
3843
  }
3757
3844
  }
3758
3845
  if (s8 === peg$FAILED) {
@@ -3783,7 +3870,7 @@ function peg$parse(input, options) {
3783
3870
  else {
3784
3871
  s7 = peg$FAILED;
3785
3872
  if (peg$silentFails === 0) {
3786
- peg$fail(peg$e15);
3873
+ peg$fail(peg$e16);
3787
3874
  }
3788
3875
  }
3789
3876
  if (s7 !== peg$FAILED) {
@@ -3802,13 +3889,13 @@ function peg$parse(input, options) {
3802
3889
  }
3803
3890
  s3 = input.substring(s3, peg$currPos);
3804
3891
  if (input.charCodeAt(peg$currPos) === 32) {
3805
- s4 = peg$c15;
3892
+ s4 = peg$c16;
3806
3893
  peg$currPos++;
3807
3894
  }
3808
3895
  else {
3809
3896
  s4 = peg$FAILED;
3810
3897
  if (peg$silentFails === 0) {
3811
- peg$fail(peg$e18);
3898
+ peg$fail(peg$e19);
3812
3899
  }
3813
3900
  }
3814
3901
  if (s4 === peg$FAILED) {
@@ -3817,7 +3904,7 @@ function peg$parse(input, options) {
3817
3904
  s5 = peg$parseItalicTag();
3818
3905
  if (s5 !== peg$FAILED) {
3819
3906
  peg$savedPos = s0;
3820
- s0 = peg$f46(s3);
3907
+ s0 = peg$f48(s3);
3821
3908
  }
3822
3909
  else {
3823
3910
  peg$currPos = s0;
@@ -3833,13 +3920,13 @@ function peg$parse(input, options) {
3833
3920
  s1 = peg$parseLightTag();
3834
3921
  if (s1 !== peg$FAILED) {
3835
3922
  if (input.charCodeAt(peg$currPos) === 32) {
3836
- s2 = peg$c15;
3923
+ s2 = peg$c16;
3837
3924
  peg$currPos++;
3838
3925
  }
3839
3926
  else {
3840
3927
  s2 = peg$FAILED;
3841
3928
  if (peg$silentFails === 0) {
3842
- peg$fail(peg$e18);
3929
+ peg$fail(peg$e19);
3843
3930
  }
3844
3931
  }
3845
3932
  if (s2 === peg$FAILED) {
@@ -3852,13 +3939,13 @@ function peg$parse(input, options) {
3852
3939
  peg$silentFails++;
3853
3940
  s7 = peg$currPos;
3854
3941
  if (input.charCodeAt(peg$currPos) === 32) {
3855
- s8 = peg$c15;
3942
+ s8 = peg$c16;
3856
3943
  peg$currPos++;
3857
3944
  }
3858
3945
  else {
3859
3946
  s8 = peg$FAILED;
3860
3947
  if (peg$silentFails === 0) {
3861
- peg$fail(peg$e18);
3948
+ peg$fail(peg$e19);
3862
3949
  }
3863
3950
  }
3864
3951
  if (s8 === peg$FAILED) {
@@ -3889,7 +3976,7 @@ function peg$parse(input, options) {
3889
3976
  else {
3890
3977
  s7 = peg$FAILED;
3891
3978
  if (peg$silentFails === 0) {
3892
- peg$fail(peg$e15);
3979
+ peg$fail(peg$e16);
3893
3980
  }
3894
3981
  }
3895
3982
  if (s7 !== peg$FAILED) {
@@ -3912,13 +3999,13 @@ function peg$parse(input, options) {
3912
3999
  peg$silentFails++;
3913
4000
  s7 = peg$currPos;
3914
4001
  if (input.charCodeAt(peg$currPos) === 32) {
3915
- s8 = peg$c15;
4002
+ s8 = peg$c16;
3916
4003
  peg$currPos++;
3917
4004
  }
3918
4005
  else {
3919
4006
  s8 = peg$FAILED;
3920
4007
  if (peg$silentFails === 0) {
3921
- peg$fail(peg$e18);
4008
+ peg$fail(peg$e19);
3922
4009
  }
3923
4010
  }
3924
4011
  if (s8 === peg$FAILED) {
@@ -3949,7 +4036,7 @@ function peg$parse(input, options) {
3949
4036
  else {
3950
4037
  s7 = peg$FAILED;
3951
4038
  if (peg$silentFails === 0) {
3952
- peg$fail(peg$e15);
4039
+ peg$fail(peg$e16);
3953
4040
  }
3954
4041
  }
3955
4042
  if (s7 !== peg$FAILED) {
@@ -3968,13 +4055,13 @@ function peg$parse(input, options) {
3968
4055
  }
3969
4056
  s3 = input.substring(s3, peg$currPos);
3970
4057
  if (input.charCodeAt(peg$currPos) === 32) {
3971
- s4 = peg$c15;
4058
+ s4 = peg$c16;
3972
4059
  peg$currPos++;
3973
4060
  }
3974
4061
  else {
3975
4062
  s4 = peg$FAILED;
3976
4063
  if (peg$silentFails === 0) {
3977
- peg$fail(peg$e18);
4064
+ peg$fail(peg$e19);
3978
4065
  }
3979
4066
  }
3980
4067
  if (s4 === peg$FAILED) {
@@ -3983,7 +4070,7 @@ function peg$parse(input, options) {
3983
4070
  s5 = peg$parseLightTag();
3984
4071
  if (s5 !== peg$FAILED) {
3985
4072
  peg$savedPos = s0;
3986
- s0 = peg$f47(s3);
4073
+ s0 = peg$f49(s3);
3987
4074
  }
3988
4075
  else {
3989
4076
  peg$currPos = s0;
@@ -3999,13 +4086,13 @@ function peg$parse(input, options) {
3999
4086
  s1 = peg$parseHighlightTag();
4000
4087
  if (s1 !== peg$FAILED) {
4001
4088
  if (input.charCodeAt(peg$currPos) === 32) {
4002
- s2 = peg$c15;
4089
+ s2 = peg$c16;
4003
4090
  peg$currPos++;
4004
4091
  }
4005
4092
  else {
4006
4093
  s2 = peg$FAILED;
4007
4094
  if (peg$silentFails === 0) {
4008
- peg$fail(peg$e18);
4095
+ peg$fail(peg$e19);
4009
4096
  }
4010
4097
  }
4011
4098
  if (s2 === peg$FAILED) {
@@ -4018,13 +4105,13 @@ function peg$parse(input, options) {
4018
4105
  peg$silentFails++;
4019
4106
  s7 = peg$currPos;
4020
4107
  if (input.charCodeAt(peg$currPos) === 32) {
4021
- s8 = peg$c15;
4108
+ s8 = peg$c16;
4022
4109
  peg$currPos++;
4023
4110
  }
4024
4111
  else {
4025
4112
  s8 = peg$FAILED;
4026
4113
  if (peg$silentFails === 0) {
4027
- peg$fail(peg$e18);
4114
+ peg$fail(peg$e19);
4028
4115
  }
4029
4116
  }
4030
4117
  if (s8 === peg$FAILED) {
@@ -4055,7 +4142,7 @@ function peg$parse(input, options) {
4055
4142
  else {
4056
4143
  s7 = peg$FAILED;
4057
4144
  if (peg$silentFails === 0) {
4058
- peg$fail(peg$e15);
4145
+ peg$fail(peg$e16);
4059
4146
  }
4060
4147
  }
4061
4148
  if (s7 !== peg$FAILED) {
@@ -4078,13 +4165,13 @@ function peg$parse(input, options) {
4078
4165
  peg$silentFails++;
4079
4166
  s7 = peg$currPos;
4080
4167
  if (input.charCodeAt(peg$currPos) === 32) {
4081
- s8 = peg$c15;
4168
+ s8 = peg$c16;
4082
4169
  peg$currPos++;
4083
4170
  }
4084
4171
  else {
4085
4172
  s8 = peg$FAILED;
4086
4173
  if (peg$silentFails === 0) {
4087
- peg$fail(peg$e18);
4174
+ peg$fail(peg$e19);
4088
4175
  }
4089
4176
  }
4090
4177
  if (s8 === peg$FAILED) {
@@ -4115,7 +4202,7 @@ function peg$parse(input, options) {
4115
4202
  else {
4116
4203
  s7 = peg$FAILED;
4117
4204
  if (peg$silentFails === 0) {
4118
- peg$fail(peg$e15);
4205
+ peg$fail(peg$e16);
4119
4206
  }
4120
4207
  }
4121
4208
  if (s7 !== peg$FAILED) {
@@ -4134,13 +4221,13 @@ function peg$parse(input, options) {
4134
4221
  }
4135
4222
  s3 = input.substring(s3, peg$currPos);
4136
4223
  if (input.charCodeAt(peg$currPos) === 32) {
4137
- s4 = peg$c15;
4224
+ s4 = peg$c16;
4138
4225
  peg$currPos++;
4139
4226
  }
4140
4227
  else {
4141
4228
  s4 = peg$FAILED;
4142
4229
  if (peg$silentFails === 0) {
4143
- peg$fail(peg$e18);
4230
+ peg$fail(peg$e19);
4144
4231
  }
4145
4232
  }
4146
4233
  if (s4 === peg$FAILED) {
@@ -4149,7 +4236,7 @@ function peg$parse(input, options) {
4149
4236
  s5 = peg$parseHighlightTag();
4150
4237
  if (s5 !== peg$FAILED) {
4151
4238
  peg$savedPos = s0;
4152
- s0 = peg$f48(s3);
4239
+ s0 = peg$f50(s3);
4153
4240
  }
4154
4241
  else {
4155
4242
  peg$currPos = s0;
@@ -4165,7 +4252,7 @@ function peg$parse(input, options) {
4165
4252
  s1 = peg$parseUrl();
4166
4253
  if (s1 !== peg$FAILED) {
4167
4254
  peg$savedPos = s0;
4168
- s1 = peg$f49(s1);
4255
+ s1 = peg$f51(s1);
4169
4256
  }
4170
4257
  s0 = s1;
4171
4258
  }
@@ -4349,7 +4436,7 @@ function peg$parse(input, options) {
4349
4436
  }
4350
4437
  if (s2 !== peg$FAILED) {
4351
4438
  peg$savedPos = s0;
4352
- s0 = peg$f50(s2);
4439
+ s0 = peg$f52(s2);
4353
4440
  }
4354
4441
  else {
4355
4442
  peg$currPos = s0;
@@ -4365,14 +4452,14 @@ function peg$parse(input, options) {
4365
4452
  function peg$parseAttrChainItem() {
4366
4453
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
4367
4454
  s0 = peg$currPos;
4368
- if (input.substr(peg$currPos, 5) === peg$c22) {
4369
- s1 = peg$c22;
4455
+ if (input.substr(peg$currPos, 5) === peg$c23) {
4456
+ s1 = peg$c23;
4370
4457
  peg$currPos += 5;
4371
4458
  }
4372
4459
  else {
4373
4460
  s1 = peg$FAILED;
4374
4461
  if (peg$silentFails === 0) {
4375
- peg$fail(peg$e27);
4462
+ peg$fail(peg$e28);
4376
4463
  }
4377
4464
  }
4378
4465
  if (s1 !== peg$FAILED) {
@@ -4439,7 +4526,7 @@ function peg$parse(input, options) {
4439
4526
  s3 = peg$parseBlockTag();
4440
4527
  if (s3 !== peg$FAILED) {
4441
4528
  peg$savedPos = s0;
4442
- s0 = peg$f51(s2);
4529
+ s0 = peg$f53(s2);
4443
4530
  }
4444
4531
  else {
4445
4532
  peg$currPos = s0;
@@ -4452,14 +4539,14 @@ function peg$parse(input, options) {
4452
4539
  }
4453
4540
  if (s0 === peg$FAILED) {
4454
4541
  s0 = peg$currPos;
4455
- if (input.substr(peg$currPos, 4) === peg$c23) {
4456
- s1 = peg$c23;
4542
+ if (input.substr(peg$currPos, 4) === peg$c24) {
4543
+ s1 = peg$c24;
4457
4544
  peg$currPos += 4;
4458
4545
  }
4459
4546
  else {
4460
4547
  s1 = peg$FAILED;
4461
4548
  if (peg$silentFails === 0) {
4462
- peg$fail(peg$e28);
4549
+ peg$fail(peg$e29);
4463
4550
  }
4464
4551
  }
4465
4552
  if (s1 !== peg$FAILED) {
@@ -4526,7 +4613,7 @@ function peg$parse(input, options) {
4526
4613
  s3 = peg$parseBlockTag();
4527
4614
  if (s3 !== peg$FAILED) {
4528
4615
  peg$savedPos = s0;
4529
- s0 = peg$f52(s2);
4616
+ s0 = peg$f54(s2);
4530
4617
  }
4531
4618
  else {
4532
4619
  peg$currPos = s0;
@@ -4553,7 +4640,7 @@ function peg$parse(input, options) {
4553
4640
  s2 = peg$parseBlockTag();
4554
4641
  if (s2 !== peg$FAILED) {
4555
4642
  peg$savedPos = s0;
4556
- s0 = peg$f53();
4643
+ s0 = peg$f55();
4557
4644
  }
4558
4645
  else {
4559
4646
  peg$currPos = s0;
@@ -4566,14 +4653,14 @@ function peg$parse(input, options) {
4566
4653
  }
4567
4654
  if (s0 === peg$FAILED) {
4568
4655
  s0 = peg$currPos;
4569
- if (input.substr(peg$currPos, 5) === peg$c24) {
4570
- s1 = peg$c24;
4656
+ if (input.substr(peg$currPos, 5) === peg$c25) {
4657
+ s1 = peg$c25;
4571
4658
  peg$currPos += 5;
4572
4659
  }
4573
4660
  else {
4574
4661
  s1 = peg$FAILED;
4575
4662
  if (peg$silentFails === 0) {
4576
- peg$fail(peg$e29);
4663
+ peg$fail(peg$e30);
4577
4664
  }
4578
4665
  }
4579
4666
  if (s1 !== peg$FAILED) {
@@ -4640,7 +4727,7 @@ function peg$parse(input, options) {
4640
4727
  s3 = peg$parseBlockTag();
4641
4728
  if (s3 !== peg$FAILED) {
4642
4729
  peg$savedPos = s0;
4643
- s0 = peg$f54(s2);
4730
+ s0 = peg$f56(s2);
4644
4731
  }
4645
4732
  else {
4646
4733
  peg$currPos = s0;
@@ -4653,21 +4740,21 @@ function peg$parse(input, options) {
4653
4740
  }
4654
4741
  if (s0 === peg$FAILED) {
4655
4742
  s0 = peg$currPos;
4656
- if (input.substr(peg$currPos, 5) === peg$c25) {
4657
- s1 = peg$c25;
4743
+ if (input.substr(peg$currPos, 5) === peg$c26) {
4744
+ s1 = peg$c26;
4658
4745
  peg$currPos += 5;
4659
4746
  }
4660
4747
  else {
4661
4748
  s1 = peg$FAILED;
4662
4749
  if (peg$silentFails === 0) {
4663
- peg$fail(peg$e30);
4750
+ peg$fail(peg$e31);
4664
4751
  }
4665
4752
  }
4666
4753
  if (s1 !== peg$FAILED) {
4667
4754
  s2 = peg$parseBlockTag();
4668
4755
  if (s2 !== peg$FAILED) {
4669
4756
  peg$savedPos = s0;
4670
- s0 = peg$f55();
4757
+ s0 = peg$f57();
4671
4758
  }
4672
4759
  else {
4673
4760
  peg$currPos = s0;
@@ -4680,14 +4767,14 @@ function peg$parse(input, options) {
4680
4767
  }
4681
4768
  if (s0 === peg$FAILED) {
4682
4769
  s0 = peg$currPos;
4683
- if (input.substr(peg$currPos, 6) === peg$c26) {
4684
- s1 = peg$c26;
4770
+ if (input.substr(peg$currPos, 6) === peg$c27) {
4771
+ s1 = peg$c27;
4685
4772
  peg$currPos += 6;
4686
4773
  }
4687
4774
  else {
4688
4775
  s1 = peg$FAILED;
4689
4776
  if (peg$silentFails === 0) {
4690
- peg$fail(peg$e31);
4777
+ peg$fail(peg$e32);
4691
4778
  }
4692
4779
  }
4693
4780
  if (s1 !== peg$FAILED) {
@@ -4754,7 +4841,7 @@ function peg$parse(input, options) {
4754
4841
  s3 = peg$parseBlockTag();
4755
4842
  if (s3 !== peg$FAILED) {
4756
4843
  peg$savedPos = s0;
4757
- s0 = peg$f56(s2);
4844
+ s0 = peg$f58(s2);
4758
4845
  }
4759
4846
  else {
4760
4847
  peg$currPos = s0;
@@ -4767,27 +4854,27 @@ function peg$parse(input, options) {
4767
4854
  }
4768
4855
  if (s0 === peg$FAILED) {
4769
4856
  s0 = peg$currPos;
4770
- if (input.substr(peg$currPos, 9) === peg$c27) {
4771
- s1 = peg$c27;
4857
+ if (input.substr(peg$currPos, 9) === peg$c28) {
4858
+ s1 = peg$c28;
4772
4859
  peg$currPos += 9;
4773
4860
  }
4774
4861
  else {
4775
4862
  s1 = peg$FAILED;
4776
4863
  if (peg$silentFails === 0) {
4777
- peg$fail(peg$e32);
4864
+ peg$fail(peg$e33);
4778
4865
  }
4779
4866
  }
4780
4867
  if (s1 !== peg$FAILED) {
4781
4868
  s2 = peg$currPos;
4782
4869
  s3 = peg$currPos;
4783
4870
  if (input.charCodeAt(peg$currPos) === 80) {
4784
- s4 = peg$c28;
4871
+ s4 = peg$c29;
4785
4872
  peg$currPos++;
4786
4873
  }
4787
4874
  else {
4788
4875
  s4 = peg$FAILED;
4789
4876
  if (peg$silentFails === 0) {
4790
- peg$fail(peg$e33);
4877
+ peg$fail(peg$e34);
4791
4878
  }
4792
4879
  }
4793
4880
  if (s4 !== peg$FAILED) {
@@ -4868,7 +4955,7 @@ function peg$parse(input, options) {
4868
4955
  s3 = peg$parseBlockTag();
4869
4956
  if (s3 !== peg$FAILED) {
4870
4957
  peg$savedPos = s0;
4871
- s0 = peg$f57(s2);
4958
+ s0 = peg$f59(s2);
4872
4959
  }
4873
4960
  else {
4874
4961
  peg$currPos = s0;
@@ -4886,14 +4973,14 @@ function peg$parse(input, options) {
4886
4973
  }
4887
4974
  if (s0 === peg$FAILED) {
4888
4975
  s0 = peg$currPos;
4889
- if (input.substr(peg$currPos, 6) === peg$c29) {
4890
- s1 = peg$c29;
4976
+ if (input.substr(peg$currPos, 6) === peg$c30) {
4977
+ s1 = peg$c30;
4891
4978
  peg$currPos += 6;
4892
4979
  }
4893
4980
  else {
4894
4981
  s1 = peg$FAILED;
4895
4982
  if (peg$silentFails === 0) {
4896
- peg$fail(peg$e34);
4983
+ peg$fail(peg$e35);
4897
4984
  }
4898
4985
  }
4899
4986
  if (s1 !== peg$FAILED) {
@@ -4902,7 +4989,7 @@ function peg$parse(input, options) {
4902
4989
  s3 = peg$parseBlockTag();
4903
4990
  if (s3 !== peg$FAILED) {
4904
4991
  peg$savedPos = s0;
4905
- s0 = peg$f58(s2);
4992
+ s0 = peg$f60(s2);
4906
4993
  }
4907
4994
  else {
4908
4995
  peg$currPos = s0;
@@ -4925,7 +5012,7 @@ function peg$parse(input, options) {
4925
5012
  s2 = peg$parseBlockTag();
4926
5013
  if (s2 !== peg$FAILED) {
4927
5014
  peg$savedPos = s0;
4928
- s0 = peg$f59(s1);
5015
+ s0 = peg$f61(s1);
4929
5016
  }
4930
5017
  else {
4931
5018
  peg$currPos = s0;
@@ -4939,13 +5026,13 @@ function peg$parse(input, options) {
4939
5026
  if (s0 === peg$FAILED) {
4940
5027
  s0 = peg$currPos;
4941
5028
  if (input.charCodeAt(peg$currPos) === 35) {
4942
- s1 = peg$c16;
5029
+ s1 = peg$c17;
4943
5030
  peg$currPos++;
4944
5031
  }
4945
5032
  else {
4946
5033
  s1 = peg$FAILED;
4947
5034
  if (peg$silentFails === 0) {
4948
- peg$fail(peg$e19);
5035
+ peg$fail(peg$e20);
4949
5036
  }
4950
5037
  }
4951
5038
  if (s1 !== peg$FAILED) {
@@ -5012,7 +5099,7 @@ function peg$parse(input, options) {
5012
5099
  s3 = peg$parseBlockTag();
5013
5100
  if (s3 !== peg$FAILED) {
5014
5101
  peg$savedPos = s0;
5015
- s0 = peg$f60(s2);
5102
+ s0 = peg$f62(s2);
5016
5103
  }
5017
5104
  else {
5018
5105
  peg$currPos = s0;
@@ -5036,201 +5123,201 @@ function peg$parse(input, options) {
5036
5123
  }
5037
5124
  function peg$parseAlternativeStyleTags() {
5038
5125
  var s0;
5039
- if (input.substr(peg$currPos, 4) === peg$c30) {
5040
- s0 = peg$c30;
5126
+ if (input.substr(peg$currPos, 4) === peg$c31) {
5127
+ s0 = peg$c31;
5041
5128
  peg$currPos += 4;
5042
5129
  }
5043
5130
  else {
5044
5131
  s0 = peg$FAILED;
5045
5132
  if (peg$silentFails === 0) {
5046
- peg$fail(peg$e35);
5133
+ peg$fail(peg$e36);
5047
5134
  }
5048
5135
  }
5049
5136
  if (s0 === peg$FAILED) {
5050
- if (input.substr(peg$currPos, 6) === peg$c31) {
5051
- s0 = peg$c31;
5137
+ if (input.substr(peg$currPos, 6) === peg$c32) {
5138
+ s0 = peg$c32;
5052
5139
  peg$currPos += 6;
5053
5140
  }
5054
5141
  else {
5055
5142
  s0 = peg$FAILED;
5056
5143
  if (peg$silentFails === 0) {
5057
- peg$fail(peg$e36);
5144
+ peg$fail(peg$e37);
5058
5145
  }
5059
5146
  }
5060
5147
  if (s0 === peg$FAILED) {
5061
- if (input.substr(peg$currPos, 5) === peg$c32) {
5062
- s0 = peg$c32;
5148
+ if (input.substr(peg$currPos, 5) === peg$c33) {
5149
+ s0 = peg$c33;
5063
5150
  peg$currPos += 5;
5064
5151
  }
5065
5152
  else {
5066
5153
  s0 = peg$FAILED;
5067
5154
  if (peg$silentFails === 0) {
5068
- peg$fail(peg$e37);
5155
+ peg$fail(peg$e38);
5069
5156
  }
5070
5157
  }
5071
5158
  if (s0 === peg$FAILED) {
5072
- if (input.substr(peg$currPos, 9) === peg$c33) {
5073
- s0 = peg$c33;
5159
+ if (input.substr(peg$currPos, 9) === peg$c34) {
5160
+ s0 = peg$c34;
5074
5161
  peg$currPos += 9;
5075
5162
  }
5076
5163
  else {
5077
5164
  s0 = peg$FAILED;
5078
5165
  if (peg$silentFails === 0) {
5079
- peg$fail(peg$e38);
5166
+ peg$fail(peg$e39);
5080
5167
  }
5081
5168
  }
5082
5169
  if (s0 === peg$FAILED) {
5083
- if (input.substr(peg$currPos, 6) === peg$c34) {
5084
- s0 = peg$c34;
5170
+ if (input.substr(peg$currPos, 6) === peg$c35) {
5171
+ s0 = peg$c35;
5085
5172
  peg$currPos += 6;
5086
5173
  }
5087
5174
  else {
5088
5175
  s0 = peg$FAILED;
5089
5176
  if (peg$silentFails === 0) {
5090
- peg$fail(peg$e39);
5177
+ peg$fail(peg$e40);
5091
5178
  }
5092
5179
  }
5093
5180
  if (s0 === peg$FAILED) {
5094
- if (input.substr(peg$currPos, 9) === peg$c35) {
5095
- s0 = peg$c35;
5181
+ if (input.substr(peg$currPos, 9) === peg$c36) {
5182
+ s0 = peg$c36;
5096
5183
  peg$currPos += 9;
5097
5184
  }
5098
5185
  else {
5099
5186
  s0 = peg$FAILED;
5100
5187
  if (peg$silentFails === 0) {
5101
- peg$fail(peg$e40);
5188
+ peg$fail(peg$e41);
5102
5189
  }
5103
5190
  }
5104
5191
  if (s0 === peg$FAILED) {
5105
- if (input.substr(peg$currPos, 11) === peg$c36) {
5106
- s0 = peg$c36;
5192
+ if (input.substr(peg$currPos, 11) === peg$c37) {
5193
+ s0 = peg$c37;
5107
5194
  peg$currPos += 11;
5108
5195
  }
5109
5196
  else {
5110
5197
  s0 = peg$FAILED;
5111
5198
  if (peg$silentFails === 0) {
5112
- peg$fail(peg$e41);
5199
+ peg$fail(peg$e42);
5113
5200
  }
5114
5201
  }
5115
5202
  if (s0 === peg$FAILED) {
5116
- if (input.substr(peg$currPos, 3) === peg$c37) {
5117
- s0 = peg$c37;
5203
+ if (input.substr(peg$currPos, 3) === peg$c38) {
5204
+ s0 = peg$c38;
5118
5205
  peg$currPos += 3;
5119
5206
  }
5120
5207
  else {
5121
5208
  s0 = peg$FAILED;
5122
5209
  if (peg$silentFails === 0) {
5123
- peg$fail(peg$e42);
5210
+ peg$fail(peg$e43);
5124
5211
  }
5125
5212
  }
5126
5213
  if (s0 === peg$FAILED) {
5127
- if (input.substr(peg$currPos, 3) === peg$c38) {
5128
- s0 = peg$c38;
5214
+ if (input.substr(peg$currPos, 3) === peg$c39) {
5215
+ s0 = peg$c39;
5129
5216
  peg$currPos += 3;
5130
5217
  }
5131
5218
  else {
5132
5219
  s0 = peg$FAILED;
5133
5220
  if (peg$silentFails === 0) {
5134
- peg$fail(peg$e43);
5221
+ peg$fail(peg$e44);
5135
5222
  }
5136
5223
  }
5137
5224
  if (s0 === peg$FAILED) {
5138
- if (input.substr(peg$currPos, 9) === peg$c39) {
5139
- s0 = peg$c39;
5225
+ if (input.substr(peg$currPos, 9) === peg$c40) {
5226
+ s0 = peg$c40;
5140
5227
  peg$currPos += 9;
5141
5228
  }
5142
5229
  else {
5143
5230
  s0 = peg$FAILED;
5144
5231
  if (peg$silentFails === 0) {
5145
- peg$fail(peg$e44);
5232
+ peg$fail(peg$e45);
5146
5233
  }
5147
5234
  }
5148
5235
  if (s0 === peg$FAILED) {
5149
- if (input.substr(peg$currPos, 15) === peg$c40) {
5150
- s0 = peg$c40;
5236
+ if (input.substr(peg$currPos, 15) === peg$c41) {
5237
+ s0 = peg$c41;
5151
5238
  peg$currPos += 15;
5152
5239
  }
5153
5240
  else {
5154
5241
  s0 = peg$FAILED;
5155
5242
  if (peg$silentFails === 0) {
5156
- peg$fail(peg$e45);
5243
+ peg$fail(peg$e46);
5157
5244
  }
5158
5245
  }
5159
5246
  if (s0 === peg$FAILED) {
5160
- if (input.substr(peg$currPos, 6) === peg$c41) {
5161
- s0 = peg$c41;
5247
+ if (input.substr(peg$currPos, 6) === peg$c42) {
5248
+ s0 = peg$c42;
5162
5249
  peg$currPos += 6;
5163
5250
  }
5164
5251
  else {
5165
5252
  s0 = peg$FAILED;
5166
5253
  if (peg$silentFails === 0) {
5167
- peg$fail(peg$e46);
5254
+ peg$fail(peg$e47);
5168
5255
  }
5169
5256
  }
5170
5257
  if (s0 === peg$FAILED) {
5171
- if (input.substr(peg$currPos, 10) === peg$c42) {
5172
- s0 = peg$c42;
5258
+ if (input.substr(peg$currPos, 10) === peg$c43) {
5259
+ s0 = peg$c43;
5173
5260
  peg$currPos += 10;
5174
5261
  }
5175
5262
  else {
5176
5263
  s0 = peg$FAILED;
5177
5264
  if (peg$silentFails === 0) {
5178
- peg$fail(peg$e47);
5265
+ peg$fail(peg$e48);
5179
5266
  }
5180
5267
  }
5181
5268
  if (s0 === peg$FAILED) {
5182
- if (input.substr(peg$currPos, 13) === peg$c43) {
5183
- s0 = peg$c43;
5269
+ if (input.substr(peg$currPos, 13) === peg$c44) {
5270
+ s0 = peg$c44;
5184
5271
  peg$currPos += 13;
5185
5272
  }
5186
5273
  else {
5187
5274
  s0 = peg$FAILED;
5188
5275
  if (peg$silentFails === 0) {
5189
- peg$fail(peg$e48);
5276
+ peg$fail(peg$e49);
5190
5277
  }
5191
5278
  }
5192
5279
  if (s0 === peg$FAILED) {
5193
- if (input.substr(peg$currPos, 19) === peg$c44) {
5194
- s0 = peg$c44;
5280
+ if (input.substr(peg$currPos, 19) === peg$c45) {
5281
+ s0 = peg$c45;
5195
5282
  peg$currPos += 19;
5196
5283
  }
5197
5284
  else {
5198
5285
  s0 = peg$FAILED;
5199
5286
  if (peg$silentFails === 0) {
5200
- peg$fail(peg$e49);
5287
+ peg$fail(peg$e50);
5201
5288
  }
5202
5289
  }
5203
5290
  if (s0 === peg$FAILED) {
5204
- if (input.substr(peg$currPos, 10) === peg$c45) {
5205
- s0 = peg$c45;
5291
+ if (input.substr(peg$currPos, 10) === peg$c46) {
5292
+ s0 = peg$c46;
5206
5293
  peg$currPos += 10;
5207
5294
  }
5208
5295
  else {
5209
5296
  s0 = peg$FAILED;
5210
5297
  if (peg$silentFails === 0) {
5211
- peg$fail(peg$e50);
5298
+ peg$fail(peg$e51);
5212
5299
  }
5213
5300
  }
5214
5301
  if (s0 === peg$FAILED) {
5215
- if (input.substr(peg$currPos, 10) === peg$c46) {
5216
- s0 = peg$c46;
5302
+ if (input.substr(peg$currPos, 10) === peg$c47) {
5303
+ s0 = peg$c47;
5217
5304
  peg$currPos += 10;
5218
5305
  }
5219
5306
  else {
5220
5307
  s0 = peg$FAILED;
5221
5308
  if (peg$silentFails === 0) {
5222
- peg$fail(peg$e51);
5309
+ peg$fail(peg$e52);
5223
5310
  }
5224
5311
  }
5225
5312
  if (s0 === peg$FAILED) {
5226
- if (input.substr(peg$currPos, 13) === peg$c47) {
5227
- s0 = peg$c47;
5313
+ if (input.substr(peg$currPos, 13) === peg$c48) {
5314
+ s0 = peg$c48;
5228
5315
  peg$currPos += 13;
5229
5316
  }
5230
5317
  else {
5231
5318
  s0 = peg$FAILED;
5232
5319
  if (peg$silentFails === 0) {
5233
- peg$fail(peg$e52);
5320
+ peg$fail(peg$e53);
5234
5321
  }
5235
5322
  }
5236
5323
  }
@@ -5254,245 +5341,245 @@ function peg$parse(input, options) {
5254
5341
  }
5255
5342
  function peg$parseColor() {
5256
5343
  var s0;
5257
- if (input.substr(peg$currPos, 4) === peg$c48) {
5258
- s0 = peg$c48;
5344
+ if (input.substr(peg$currPos, 4) === peg$c49) {
5345
+ s0 = peg$c49;
5259
5346
  peg$currPos += 4;
5260
5347
  }
5261
5348
  else {
5262
5349
  s0 = peg$FAILED;
5263
5350
  if (peg$silentFails === 0) {
5264
- peg$fail(peg$e53);
5351
+ peg$fail(peg$e54);
5265
5352
  }
5266
5353
  }
5267
5354
  if (s0 === peg$FAILED) {
5268
- if (input.substr(peg$currPos, 5) === peg$c49) {
5269
- s0 = peg$c49;
5355
+ if (input.substr(peg$currPos, 5) === peg$c50) {
5356
+ s0 = peg$c50;
5270
5357
  peg$currPos += 5;
5271
5358
  }
5272
5359
  else {
5273
5360
  s0 = peg$FAILED;
5274
5361
  if (peg$silentFails === 0) {
5275
- peg$fail(peg$e54);
5362
+ peg$fail(peg$e55);
5276
5363
  }
5277
5364
  }
5278
5365
  if (s0 === peg$FAILED) {
5279
- if (input.substr(peg$currPos, 4) === peg$c50) {
5280
- s0 = peg$c50;
5366
+ if (input.substr(peg$currPos, 4) === peg$c51) {
5367
+ s0 = peg$c51;
5281
5368
  peg$currPos += 4;
5282
5369
  }
5283
5370
  else {
5284
5371
  s0 = peg$FAILED;
5285
5372
  if (peg$silentFails === 0) {
5286
- peg$fail(peg$e55);
5373
+ peg$fail(peg$e56);
5287
5374
  }
5288
5375
  }
5289
5376
  if (s0 === peg$FAILED) {
5290
- if (input.substr(peg$currPos, 4) === peg$c51) {
5291
- s0 = peg$c51;
5377
+ if (input.substr(peg$currPos, 4) === peg$c52) {
5378
+ s0 = peg$c52;
5292
5379
  peg$currPos += 4;
5293
5380
  }
5294
5381
  else {
5295
5382
  s0 = peg$FAILED;
5296
5383
  if (peg$silentFails === 0) {
5297
- peg$fail(peg$e56);
5384
+ peg$fail(peg$e57);
5298
5385
  }
5299
5386
  }
5300
5387
  if (s0 === peg$FAILED) {
5301
- if (input.substr(peg$currPos, 7) === peg$c52) {
5302
- s0 = peg$c52;
5388
+ if (input.substr(peg$currPos, 7) === peg$c53) {
5389
+ s0 = peg$c53;
5303
5390
  peg$currPos += 7;
5304
5391
  }
5305
5392
  else {
5306
5393
  s0 = peg$FAILED;
5307
5394
  if (peg$silentFails === 0) {
5308
- peg$fail(peg$e57);
5395
+ peg$fail(peg$e58);
5309
5396
  }
5310
5397
  }
5311
5398
  if (s0 === peg$FAILED) {
5312
- if (input.substr(peg$currPos, 9) === peg$c53) {
5313
- s0 = peg$c53;
5399
+ if (input.substr(peg$currPos, 9) === peg$c54) {
5400
+ s0 = peg$c54;
5314
5401
  peg$currPos += 9;
5315
5402
  }
5316
5403
  else {
5317
5404
  s0 = peg$FAILED;
5318
5405
  if (peg$silentFails === 0) {
5319
- peg$fail(peg$e58);
5406
+ peg$fail(peg$e59);
5320
5407
  }
5321
5408
  }
5322
5409
  if (s0 === peg$FAILED) {
5323
- if (input.substr(peg$currPos, 4) === peg$c54) {
5324
- s0 = peg$c54;
5410
+ if (input.substr(peg$currPos, 4) === peg$c55) {
5411
+ s0 = peg$c55;
5325
5412
  peg$currPos += 4;
5326
5413
  }
5327
5414
  else {
5328
5415
  s0 = peg$FAILED;
5329
5416
  if (peg$silentFails === 0) {
5330
- peg$fail(peg$e59);
5417
+ peg$fail(peg$e60);
5331
5418
  }
5332
5419
  }
5333
5420
  if (s0 === peg$FAILED) {
5334
- if (input.substr(peg$currPos, 8) === peg$c55) {
5335
- s0 = peg$c55;
5421
+ if (input.substr(peg$currPos, 8) === peg$c56) {
5422
+ s0 = peg$c56;
5336
5423
  peg$currPos += 8;
5337
5424
  }
5338
5425
  else {
5339
5426
  s0 = peg$FAILED;
5340
5427
  if (peg$silentFails === 0) {
5341
- peg$fail(peg$e60);
5428
+ peg$fail(peg$e61);
5342
5429
  }
5343
5430
  }
5344
5431
  if (s0 === peg$FAILED) {
5345
- if (input.substr(peg$currPos, 5) === peg$c56) {
5346
- s0 = peg$c56;
5432
+ if (input.substr(peg$currPos, 5) === peg$c57) {
5433
+ s0 = peg$c57;
5347
5434
  peg$currPos += 5;
5348
5435
  }
5349
5436
  else {
5350
5437
  s0 = peg$FAILED;
5351
5438
  if (peg$silentFails === 0) {
5352
- peg$fail(peg$e61);
5439
+ peg$fail(peg$e62);
5353
5440
  }
5354
5441
  }
5355
5442
  if (s0 === peg$FAILED) {
5356
- if (input.substr(peg$currPos, 4) === peg$c57) {
5357
- s0 = peg$c57;
5443
+ if (input.substr(peg$currPos, 4) === peg$c58) {
5444
+ s0 = peg$c58;
5358
5445
  peg$currPos += 4;
5359
5446
  }
5360
5447
  else {
5361
5448
  s0 = peg$FAILED;
5362
5449
  if (peg$silentFails === 0) {
5363
- peg$fail(peg$e62);
5450
+ peg$fail(peg$e63);
5364
5451
  }
5365
5452
  }
5366
5453
  if (s0 === peg$FAILED) {
5367
- if (input.substr(peg$currPos, 7) === peg$c58) {
5368
- s0 = peg$c58;
5454
+ if (input.substr(peg$currPos, 7) === peg$c59) {
5455
+ s0 = peg$c59;
5369
5456
  peg$currPos += 7;
5370
5457
  }
5371
5458
  else {
5372
5459
  s0 = peg$FAILED;
5373
5460
  if (peg$silentFails === 0) {
5374
- peg$fail(peg$e63);
5461
+ peg$fail(peg$e64);
5375
5462
  }
5376
5463
  }
5377
5464
  if (s0 === peg$FAILED) {
5378
- if (input.substr(peg$currPos, 6) === peg$c59) {
5379
- s0 = peg$c59;
5465
+ if (input.substr(peg$currPos, 6) === peg$c60) {
5466
+ s0 = peg$c60;
5380
5467
  peg$currPos += 6;
5381
5468
  }
5382
5469
  else {
5383
5470
  s0 = peg$FAILED;
5384
5471
  if (peg$silentFails === 0) {
5385
- peg$fail(peg$e64);
5472
+ peg$fail(peg$e65);
5386
5473
  }
5387
5474
  }
5388
5475
  if (s0 === peg$FAILED) {
5389
- if (input.substr(peg$currPos, 4) === peg$c60) {
5390
- s0 = peg$c60;
5476
+ if (input.substr(peg$currPos, 4) === peg$c61) {
5477
+ s0 = peg$c61;
5391
5478
  peg$currPos += 4;
5392
5479
  }
5393
5480
  else {
5394
5481
  s0 = peg$FAILED;
5395
5482
  if (peg$silentFails === 0) {
5396
- peg$fail(peg$e65);
5483
+ peg$fail(peg$e66);
5397
5484
  }
5398
5485
  }
5399
5486
  if (s0 === peg$FAILED) {
5400
- if (input.substr(peg$currPos, 5) === peg$c61) {
5401
- s0 = peg$c61;
5487
+ if (input.substr(peg$currPos, 5) === peg$c62) {
5488
+ s0 = peg$c62;
5402
5489
  peg$currPos += 5;
5403
5490
  }
5404
5491
  else {
5405
5492
  s0 = peg$FAILED;
5406
5493
  if (peg$silentFails === 0) {
5407
- peg$fail(peg$e66);
5494
+ peg$fail(peg$e67);
5408
5495
  }
5409
5496
  }
5410
5497
  if (s0 === peg$FAILED) {
5411
- if (input.substr(peg$currPos, 6) === peg$c62) {
5412
- s0 = peg$c62;
5498
+ if (input.substr(peg$currPos, 6) === peg$c63) {
5499
+ s0 = peg$c63;
5413
5500
  peg$currPos += 6;
5414
5501
  }
5415
5502
  else {
5416
5503
  s0 = peg$FAILED;
5417
5504
  if (peg$silentFails === 0) {
5418
- peg$fail(peg$e67);
5505
+ peg$fail(peg$e68);
5419
5506
  }
5420
5507
  }
5421
5508
  if (s0 === peg$FAILED) {
5422
- if (input.substr(peg$currPos, 6) === peg$c63) {
5423
- s0 = peg$c63;
5509
+ if (input.substr(peg$currPos, 6) === peg$c64) {
5510
+ s0 = peg$c64;
5424
5511
  peg$currPos += 6;
5425
5512
  }
5426
5513
  else {
5427
5514
  s0 = peg$FAILED;
5428
5515
  if (peg$silentFails === 0) {
5429
- peg$fail(peg$e68);
5516
+ peg$fail(peg$e69);
5430
5517
  }
5431
5518
  }
5432
5519
  if (s0 === peg$FAILED) {
5433
- if (input.substr(peg$currPos, 3) === peg$c64) {
5434
- s0 = peg$c64;
5520
+ if (input.substr(peg$currPos, 3) === peg$c65) {
5521
+ s0 = peg$c65;
5435
5522
  peg$currPos += 3;
5436
5523
  }
5437
5524
  else {
5438
5525
  s0 = peg$FAILED;
5439
5526
  if (peg$silentFails === 0) {
5440
- peg$fail(peg$e69);
5527
+ peg$fail(peg$e70);
5441
5528
  }
5442
5529
  }
5443
5530
  if (s0 === peg$FAILED) {
5444
- if (input.substr(peg$currPos, 6) === peg$c65) {
5445
- s0 = peg$c65;
5531
+ if (input.substr(peg$currPos, 6) === peg$c66) {
5532
+ s0 = peg$c66;
5446
5533
  peg$currPos += 6;
5447
5534
  }
5448
5535
  else {
5449
5536
  s0 = peg$FAILED;
5450
5537
  if (peg$silentFails === 0) {
5451
- peg$fail(peg$e70);
5538
+ peg$fail(peg$e71);
5452
5539
  }
5453
5540
  }
5454
5541
  if (s0 === peg$FAILED) {
5455
- if (input.substr(peg$currPos, 4) === peg$c66) {
5456
- s0 = peg$c66;
5542
+ if (input.substr(peg$currPos, 4) === peg$c67) {
5543
+ s0 = peg$c67;
5457
5544
  peg$currPos += 4;
5458
5545
  }
5459
5546
  else {
5460
5547
  s0 = peg$FAILED;
5461
5548
  if (peg$silentFails === 0) {
5462
- peg$fail(peg$e71);
5549
+ peg$fail(peg$e72);
5463
5550
  }
5464
5551
  }
5465
5552
  if (s0 === peg$FAILED) {
5466
- if (input.substr(peg$currPos, 6) === peg$c67) {
5467
- s0 = peg$c67;
5553
+ if (input.substr(peg$currPos, 6) === peg$c68) {
5554
+ s0 = peg$c68;
5468
5555
  peg$currPos += 6;
5469
5556
  }
5470
5557
  else {
5471
5558
  s0 = peg$FAILED;
5472
5559
  if (peg$silentFails === 0) {
5473
- peg$fail(peg$e72);
5560
+ peg$fail(peg$e73);
5474
5561
  }
5475
5562
  }
5476
5563
  if (s0 === peg$FAILED) {
5477
- if (input.substr(peg$currPos, 5) === peg$c68) {
5478
- s0 = peg$c68;
5564
+ if (input.substr(peg$currPos, 5) === peg$c69) {
5565
+ s0 = peg$c69;
5479
5566
  peg$currPos += 5;
5480
5567
  }
5481
5568
  else {
5482
5569
  s0 = peg$FAILED;
5483
5570
  if (peg$silentFails === 0) {
5484
- peg$fail(peg$e73);
5571
+ peg$fail(peg$e74);
5485
5572
  }
5486
5573
  }
5487
5574
  if (s0 === peg$FAILED) {
5488
- if (input.substr(peg$currPos, 6) === peg$c69) {
5489
- s0 = peg$c69;
5575
+ if (input.substr(peg$currPos, 6) === peg$c70) {
5576
+ s0 = peg$c70;
5490
5577
  peg$currPos += 6;
5491
5578
  }
5492
5579
  else {
5493
5580
  s0 = peg$FAILED;
5494
5581
  if (peg$silentFails === 0) {
5495
- peg$fail(peg$e74);
5582
+ peg$fail(peg$e75);
5496
5583
  }
5497
5584
  }
5498
5585
  }
@@ -5524,12 +5611,12 @@ function peg$parse(input, options) {
5524
5611
  s0 = peg$currPos;
5525
5612
  s1 = peg$parsebitmarkMinusMinusString();
5526
5613
  peg$savedPos = s0;
5527
- s1 = peg$f61(s1);
5614
+ s1 = peg$f63(s1);
5528
5615
  s0 = s1;
5529
5616
  peg$silentFails--;
5530
5617
  s1 = peg$FAILED;
5531
5618
  if (peg$silentFails === 0) {
5532
- peg$fail(peg$e75);
5619
+ peg$fail(peg$e76);
5533
5620
  }
5534
5621
  return s0;
5535
5622
  }
@@ -5554,11 +5641,11 @@ function peg$parse(input, options) {
5554
5641
  }
5555
5642
  }
5556
5643
  peg$savedPos = s0;
5557
- s0 = peg$f62(s1, s2);
5644
+ s0 = peg$f64(s1, s2);
5558
5645
  peg$silentFails--;
5559
5646
  s1 = peg$FAILED;
5560
5647
  if (peg$silentFails === 0) {
5561
- peg$fail(peg$e76);
5648
+ peg$fail(peg$e77);
5562
5649
  }
5563
5650
  return s0;
5564
5651
  }
@@ -5591,7 +5678,7 @@ function peg$parse(input, options) {
5591
5678
  else {
5592
5679
  s6 = peg$FAILED;
5593
5680
  if (peg$silentFails === 0) {
5594
- peg$fail(peg$e15);
5681
+ peg$fail(peg$e16);
5595
5682
  }
5596
5683
  }
5597
5684
  if (s6 !== peg$FAILED) {
@@ -5634,7 +5721,7 @@ function peg$parse(input, options) {
5634
5721
  else {
5635
5722
  s6 = peg$FAILED;
5636
5723
  if (peg$silentFails === 0) {
5637
- peg$fail(peg$e15);
5724
+ peg$fail(peg$e16);
5638
5725
  }
5639
5726
  }
5640
5727
  if (s6 !== peg$FAILED) {
@@ -5663,7 +5750,7 @@ function peg$parse(input, options) {
5663
5750
  }
5664
5751
  if (s1 !== peg$FAILED) {
5665
5752
  peg$savedPos = s0;
5666
- s1 = peg$f63(s1);
5753
+ s1 = peg$f65(s1);
5667
5754
  }
5668
5755
  s0 = s1;
5669
5756
  if (s0 === peg$FAILED) {
@@ -5674,13 +5761,13 @@ function peg$parse(input, options) {
5674
5761
  function peg$parseBoldHalfTag() {
5675
5762
  var s0;
5676
5763
  if (input.charCodeAt(peg$currPos) === 42) {
5677
- s0 = peg$c70;
5764
+ s0 = peg$c71;
5678
5765
  peg$currPos++;
5679
5766
  }
5680
5767
  else {
5681
5768
  s0 = peg$FAILED;
5682
5769
  if (peg$silentFails === 0) {
5683
- peg$fail(peg$e77);
5770
+ peg$fail(peg$e78);
5684
5771
  }
5685
5772
  }
5686
5773
  return s0;
@@ -5688,13 +5775,13 @@ function peg$parse(input, options) {
5688
5775
  function peg$parseItalicHalfTag() {
5689
5776
  var s0;
5690
5777
  if (input.charCodeAt(peg$currPos) === 95) {
5691
- s0 = peg$c71;
5778
+ s0 = peg$c72;
5692
5779
  peg$currPos++;
5693
5780
  }
5694
5781
  else {
5695
5782
  s0 = peg$FAILED;
5696
5783
  if (peg$silentFails === 0) {
5697
- peg$fail(peg$e78);
5784
+ peg$fail(peg$e79);
5698
5785
  }
5699
5786
  }
5700
5787
  return s0;
@@ -5702,13 +5789,13 @@ function peg$parse(input, options) {
5702
5789
  function peg$parseLightHalfTag() {
5703
5790
  var s0;
5704
5791
  if (input.charCodeAt(peg$currPos) === 96) {
5705
- s0 = peg$c72;
5792
+ s0 = peg$c73;
5706
5793
  peg$currPos++;
5707
5794
  }
5708
5795
  else {
5709
5796
  s0 = peg$FAILED;
5710
5797
  if (peg$silentFails === 0) {
5711
- peg$fail(peg$e79);
5798
+ peg$fail(peg$e80);
5712
5799
  }
5713
5800
  }
5714
5801
  return s0;
@@ -5716,13 +5803,13 @@ function peg$parse(input, options) {
5716
5803
  function peg$parseHighlightHalfTag() {
5717
5804
  var s0;
5718
5805
  if (input.charCodeAt(peg$currPos) === 33) {
5719
- s0 = peg$c73;
5806
+ s0 = peg$c74;
5720
5807
  peg$currPos++;
5721
5808
  }
5722
5809
  else {
5723
5810
  s0 = peg$FAILED;
5724
5811
  if (peg$silentFails === 0) {
5725
- peg$fail(peg$e80);
5812
+ peg$fail(peg$e81);
5726
5813
  }
5727
5814
  }
5728
5815
  return s0;
@@ -5813,14 +5900,14 @@ function peg$parse(input, options) {
5813
5900
  }
5814
5901
  function peg$parseBodyBitOpenTag() {
5815
5902
  var s0;
5816
- if (input.substr(peg$currPos, 2) === peg$c74) {
5817
- s0 = peg$c74;
5903
+ if (input.substr(peg$currPos, 2) === peg$c75) {
5904
+ s0 = peg$c75;
5818
5905
  peg$currPos += 2;
5819
5906
  }
5820
5907
  else {
5821
5908
  s0 = peg$FAILED;
5822
5909
  if (peg$silentFails === 0) {
5823
- peg$fail(peg$e81);
5910
+ peg$fail(peg$e82);
5824
5911
  }
5825
5912
  }
5826
5913
  return s0;
@@ -5828,13 +5915,13 @@ function peg$parse(input, options) {
5828
5915
  function peg$parseBodyBitCloseTag() {
5829
5916
  var s0;
5830
5917
  if (input.charCodeAt(peg$currPos) === 93) {
5831
- s0 = peg$c75;
5918
+ s0 = peg$c76;
5832
5919
  peg$currPos++;
5833
5920
  }
5834
5921
  else {
5835
5922
  s0 = peg$FAILED;
5836
5923
  if (peg$silentFails === 0) {
5837
- peg$fail(peg$e82);
5924
+ peg$fail(peg$e83);
5838
5925
  }
5839
5926
  }
5840
5927
  return s0;
@@ -5853,7 +5940,7 @@ function peg$parse(input, options) {
5853
5940
  else {
5854
5941
  s4 = peg$FAILED;
5855
5942
  if (peg$silentFails === 0) {
5856
- peg$fail(peg$e21);
5943
+ peg$fail(peg$e22);
5857
5944
  }
5858
5945
  }
5859
5946
  if (s4 !== peg$FAILED) {
@@ -5866,7 +5953,7 @@ function peg$parse(input, options) {
5866
5953
  else {
5867
5954
  s4 = peg$FAILED;
5868
5955
  if (peg$silentFails === 0) {
5869
- peg$fail(peg$e21);
5956
+ peg$fail(peg$e22);
5870
5957
  }
5871
5958
  }
5872
5959
  }
@@ -5884,7 +5971,7 @@ function peg$parse(input, options) {
5884
5971
  s3 = peg$parseBodyBitCloseTag();
5885
5972
  if (s3 !== peg$FAILED) {
5886
5973
  peg$savedPos = s0;
5887
- s0 = peg$f64(s2);
5974
+ s0 = peg$f66(s2);
5888
5975
  }
5889
5976
  else {
5890
5977
  peg$currPos = s0;
@@ -5905,13 +5992,13 @@ function peg$parse(input, options) {
5905
5992
  s1 = peg$parseBoldTag();
5906
5993
  if (s1 !== peg$FAILED) {
5907
5994
  if (input.charCodeAt(peg$currPos) === 32) {
5908
- s2 = peg$c15;
5995
+ s2 = peg$c16;
5909
5996
  peg$currPos++;
5910
5997
  }
5911
5998
  else {
5912
5999
  s2 = peg$FAILED;
5913
6000
  if (peg$silentFails === 0) {
5914
- peg$fail(peg$e18);
6001
+ peg$fail(peg$e19);
5915
6002
  }
5916
6003
  }
5917
6004
  if (s2 === peg$FAILED) {
@@ -5924,13 +6011,13 @@ function peg$parse(input, options) {
5924
6011
  peg$silentFails++;
5925
6012
  s7 = peg$currPos;
5926
6013
  if (input.charCodeAt(peg$currPos) === 32) {
5927
- s8 = peg$c15;
6014
+ s8 = peg$c16;
5928
6015
  peg$currPos++;
5929
6016
  }
5930
6017
  else {
5931
6018
  s8 = peg$FAILED;
5932
6019
  if (peg$silentFails === 0) {
5933
- peg$fail(peg$e18);
6020
+ peg$fail(peg$e19);
5934
6021
  }
5935
6022
  }
5936
6023
  if (s8 === peg$FAILED) {
@@ -5961,7 +6048,7 @@ function peg$parse(input, options) {
5961
6048
  else {
5962
6049
  s7 = peg$FAILED;
5963
6050
  if (peg$silentFails === 0) {
5964
- peg$fail(peg$e15);
6051
+ peg$fail(peg$e16);
5965
6052
  }
5966
6053
  }
5967
6054
  if (s7 !== peg$FAILED) {
@@ -5984,13 +6071,13 @@ function peg$parse(input, options) {
5984
6071
  peg$silentFails++;
5985
6072
  s7 = peg$currPos;
5986
6073
  if (input.charCodeAt(peg$currPos) === 32) {
5987
- s8 = peg$c15;
6074
+ s8 = peg$c16;
5988
6075
  peg$currPos++;
5989
6076
  }
5990
6077
  else {
5991
6078
  s8 = peg$FAILED;
5992
6079
  if (peg$silentFails === 0) {
5993
- peg$fail(peg$e18);
6080
+ peg$fail(peg$e19);
5994
6081
  }
5995
6082
  }
5996
6083
  if (s8 === peg$FAILED) {
@@ -6021,7 +6108,7 @@ function peg$parse(input, options) {
6021
6108
  else {
6022
6109
  s7 = peg$FAILED;
6023
6110
  if (peg$silentFails === 0) {
6024
- peg$fail(peg$e15);
6111
+ peg$fail(peg$e16);
6025
6112
  }
6026
6113
  }
6027
6114
  if (s7 !== peg$FAILED) {
@@ -6040,13 +6127,13 @@ function peg$parse(input, options) {
6040
6127
  }
6041
6128
  s3 = input.substring(s3, peg$currPos);
6042
6129
  if (input.charCodeAt(peg$currPos) === 32) {
6043
- s4 = peg$c15;
6130
+ s4 = peg$c16;
6044
6131
  peg$currPos++;
6045
6132
  }
6046
6133
  else {
6047
6134
  s4 = peg$FAILED;
6048
6135
  if (peg$silentFails === 0) {
6049
- peg$fail(peg$e18);
6136
+ peg$fail(peg$e19);
6050
6137
  }
6051
6138
  }
6052
6139
  if (s4 === peg$FAILED) {
@@ -6055,7 +6142,7 @@ function peg$parse(input, options) {
6055
6142
  s5 = peg$parseBoldTag();
6056
6143
  if (s5 !== peg$FAILED) {
6057
6144
  peg$savedPos = s0;
6058
- s0 = peg$f65(s3);
6145
+ s0 = peg$f67(s3);
6059
6146
  }
6060
6147
  else {
6061
6148
  peg$currPos = s0;
@@ -6071,13 +6158,13 @@ function peg$parse(input, options) {
6071
6158
  s1 = peg$parseItalicTag();
6072
6159
  if (s1 !== peg$FAILED) {
6073
6160
  if (input.charCodeAt(peg$currPos) === 32) {
6074
- s2 = peg$c15;
6161
+ s2 = peg$c16;
6075
6162
  peg$currPos++;
6076
6163
  }
6077
6164
  else {
6078
6165
  s2 = peg$FAILED;
6079
6166
  if (peg$silentFails === 0) {
6080
- peg$fail(peg$e18);
6167
+ peg$fail(peg$e19);
6081
6168
  }
6082
6169
  }
6083
6170
  if (s2 === peg$FAILED) {
@@ -6090,13 +6177,13 @@ function peg$parse(input, options) {
6090
6177
  peg$silentFails++;
6091
6178
  s7 = peg$currPos;
6092
6179
  if (input.charCodeAt(peg$currPos) === 32) {
6093
- s8 = peg$c15;
6180
+ s8 = peg$c16;
6094
6181
  peg$currPos++;
6095
6182
  }
6096
6183
  else {
6097
6184
  s8 = peg$FAILED;
6098
6185
  if (peg$silentFails === 0) {
6099
- peg$fail(peg$e18);
6186
+ peg$fail(peg$e19);
6100
6187
  }
6101
6188
  }
6102
6189
  if (s8 === peg$FAILED) {
@@ -6127,7 +6214,7 @@ function peg$parse(input, options) {
6127
6214
  else {
6128
6215
  s7 = peg$FAILED;
6129
6216
  if (peg$silentFails === 0) {
6130
- peg$fail(peg$e15);
6217
+ peg$fail(peg$e16);
6131
6218
  }
6132
6219
  }
6133
6220
  if (s7 !== peg$FAILED) {
@@ -6150,13 +6237,13 @@ function peg$parse(input, options) {
6150
6237
  peg$silentFails++;
6151
6238
  s7 = peg$currPos;
6152
6239
  if (input.charCodeAt(peg$currPos) === 32) {
6153
- s8 = peg$c15;
6240
+ s8 = peg$c16;
6154
6241
  peg$currPos++;
6155
6242
  }
6156
6243
  else {
6157
6244
  s8 = peg$FAILED;
6158
6245
  if (peg$silentFails === 0) {
6159
- peg$fail(peg$e18);
6246
+ peg$fail(peg$e19);
6160
6247
  }
6161
6248
  }
6162
6249
  if (s8 === peg$FAILED) {
@@ -6187,7 +6274,7 @@ function peg$parse(input, options) {
6187
6274
  else {
6188
6275
  s7 = peg$FAILED;
6189
6276
  if (peg$silentFails === 0) {
6190
- peg$fail(peg$e15);
6277
+ peg$fail(peg$e16);
6191
6278
  }
6192
6279
  }
6193
6280
  if (s7 !== peg$FAILED) {
@@ -6206,13 +6293,13 @@ function peg$parse(input, options) {
6206
6293
  }
6207
6294
  s3 = input.substring(s3, peg$currPos);
6208
6295
  if (input.charCodeAt(peg$currPos) === 32) {
6209
- s4 = peg$c15;
6296
+ s4 = peg$c16;
6210
6297
  peg$currPos++;
6211
6298
  }
6212
6299
  else {
6213
6300
  s4 = peg$FAILED;
6214
6301
  if (peg$silentFails === 0) {
6215
- peg$fail(peg$e18);
6302
+ peg$fail(peg$e19);
6216
6303
  }
6217
6304
  }
6218
6305
  if (s4 === peg$FAILED) {
@@ -6221,7 +6308,7 @@ function peg$parse(input, options) {
6221
6308
  s5 = peg$parseItalicTag();
6222
6309
  if (s5 !== peg$FAILED) {
6223
6310
  peg$savedPos = s0;
6224
- s0 = peg$f66(s3);
6311
+ s0 = peg$f68(s3);
6225
6312
  }
6226
6313
  else {
6227
6314
  peg$currPos = s0;
@@ -6237,13 +6324,13 @@ function peg$parse(input, options) {
6237
6324
  s1 = peg$parseLightTag();
6238
6325
  if (s1 !== peg$FAILED) {
6239
6326
  if (input.charCodeAt(peg$currPos) === 32) {
6240
- s2 = peg$c15;
6327
+ s2 = peg$c16;
6241
6328
  peg$currPos++;
6242
6329
  }
6243
6330
  else {
6244
6331
  s2 = peg$FAILED;
6245
6332
  if (peg$silentFails === 0) {
6246
- peg$fail(peg$e18);
6333
+ peg$fail(peg$e19);
6247
6334
  }
6248
6335
  }
6249
6336
  if (s2 === peg$FAILED) {
@@ -6256,13 +6343,13 @@ function peg$parse(input, options) {
6256
6343
  peg$silentFails++;
6257
6344
  s7 = peg$currPos;
6258
6345
  if (input.charCodeAt(peg$currPos) === 32) {
6259
- s8 = peg$c15;
6346
+ s8 = peg$c16;
6260
6347
  peg$currPos++;
6261
6348
  }
6262
6349
  else {
6263
6350
  s8 = peg$FAILED;
6264
6351
  if (peg$silentFails === 0) {
6265
- peg$fail(peg$e18);
6352
+ peg$fail(peg$e19);
6266
6353
  }
6267
6354
  }
6268
6355
  if (s8 === peg$FAILED) {
@@ -6293,7 +6380,7 @@ function peg$parse(input, options) {
6293
6380
  else {
6294
6381
  s7 = peg$FAILED;
6295
6382
  if (peg$silentFails === 0) {
6296
- peg$fail(peg$e15);
6383
+ peg$fail(peg$e16);
6297
6384
  }
6298
6385
  }
6299
6386
  if (s7 !== peg$FAILED) {
@@ -6316,13 +6403,13 @@ function peg$parse(input, options) {
6316
6403
  peg$silentFails++;
6317
6404
  s7 = peg$currPos;
6318
6405
  if (input.charCodeAt(peg$currPos) === 32) {
6319
- s8 = peg$c15;
6406
+ s8 = peg$c16;
6320
6407
  peg$currPos++;
6321
6408
  }
6322
6409
  else {
6323
6410
  s8 = peg$FAILED;
6324
6411
  if (peg$silentFails === 0) {
6325
- peg$fail(peg$e18);
6412
+ peg$fail(peg$e19);
6326
6413
  }
6327
6414
  }
6328
6415
  if (s8 === peg$FAILED) {
@@ -6353,7 +6440,7 @@ function peg$parse(input, options) {
6353
6440
  else {
6354
6441
  s7 = peg$FAILED;
6355
6442
  if (peg$silentFails === 0) {
6356
- peg$fail(peg$e15);
6443
+ peg$fail(peg$e16);
6357
6444
  }
6358
6445
  }
6359
6446
  if (s7 !== peg$FAILED) {
@@ -6372,13 +6459,13 @@ function peg$parse(input, options) {
6372
6459
  }
6373
6460
  s3 = input.substring(s3, peg$currPos);
6374
6461
  if (input.charCodeAt(peg$currPos) === 32) {
6375
- s4 = peg$c15;
6462
+ s4 = peg$c16;
6376
6463
  peg$currPos++;
6377
6464
  }
6378
6465
  else {
6379
6466
  s4 = peg$FAILED;
6380
6467
  if (peg$silentFails === 0) {
6381
- peg$fail(peg$e18);
6468
+ peg$fail(peg$e19);
6382
6469
  }
6383
6470
  }
6384
6471
  if (s4 === peg$FAILED) {
@@ -6387,7 +6474,7 @@ function peg$parse(input, options) {
6387
6474
  s5 = peg$parseLightTag();
6388
6475
  if (s5 !== peg$FAILED) {
6389
6476
  peg$savedPos = s0;
6390
- s0 = peg$f67(s3);
6477
+ s0 = peg$f69(s3);
6391
6478
  }
6392
6479
  else {
6393
6480
  peg$currPos = s0;
@@ -6403,13 +6490,13 @@ function peg$parse(input, options) {
6403
6490
  s1 = peg$parseHighlightTag();
6404
6491
  if (s1 !== peg$FAILED) {
6405
6492
  if (input.charCodeAt(peg$currPos) === 32) {
6406
- s2 = peg$c15;
6493
+ s2 = peg$c16;
6407
6494
  peg$currPos++;
6408
6495
  }
6409
6496
  else {
6410
6497
  s2 = peg$FAILED;
6411
6498
  if (peg$silentFails === 0) {
6412
- peg$fail(peg$e18);
6499
+ peg$fail(peg$e19);
6413
6500
  }
6414
6501
  }
6415
6502
  if (s2 === peg$FAILED) {
@@ -6422,13 +6509,13 @@ function peg$parse(input, options) {
6422
6509
  peg$silentFails++;
6423
6510
  s7 = peg$currPos;
6424
6511
  if (input.charCodeAt(peg$currPos) === 32) {
6425
- s8 = peg$c15;
6512
+ s8 = peg$c16;
6426
6513
  peg$currPos++;
6427
6514
  }
6428
6515
  else {
6429
6516
  s8 = peg$FAILED;
6430
6517
  if (peg$silentFails === 0) {
6431
- peg$fail(peg$e18);
6518
+ peg$fail(peg$e19);
6432
6519
  }
6433
6520
  }
6434
6521
  if (s8 === peg$FAILED) {
@@ -6459,7 +6546,7 @@ function peg$parse(input, options) {
6459
6546
  else {
6460
6547
  s7 = peg$FAILED;
6461
6548
  if (peg$silentFails === 0) {
6462
- peg$fail(peg$e15);
6549
+ peg$fail(peg$e16);
6463
6550
  }
6464
6551
  }
6465
6552
  if (s7 !== peg$FAILED) {
@@ -6482,13 +6569,13 @@ function peg$parse(input, options) {
6482
6569
  peg$silentFails++;
6483
6570
  s7 = peg$currPos;
6484
6571
  if (input.charCodeAt(peg$currPos) === 32) {
6485
- s8 = peg$c15;
6572
+ s8 = peg$c16;
6486
6573
  peg$currPos++;
6487
6574
  }
6488
6575
  else {
6489
6576
  s8 = peg$FAILED;
6490
6577
  if (peg$silentFails === 0) {
6491
- peg$fail(peg$e18);
6578
+ peg$fail(peg$e19);
6492
6579
  }
6493
6580
  }
6494
6581
  if (s8 === peg$FAILED) {
@@ -6519,7 +6606,7 @@ function peg$parse(input, options) {
6519
6606
  else {
6520
6607
  s7 = peg$FAILED;
6521
6608
  if (peg$silentFails === 0) {
6522
- peg$fail(peg$e15);
6609
+ peg$fail(peg$e16);
6523
6610
  }
6524
6611
  }
6525
6612
  if (s7 !== peg$FAILED) {
@@ -6538,13 +6625,13 @@ function peg$parse(input, options) {
6538
6625
  }
6539
6626
  s3 = input.substring(s3, peg$currPos);
6540
6627
  if (input.charCodeAt(peg$currPos) === 32) {
6541
- s4 = peg$c15;
6628
+ s4 = peg$c16;
6542
6629
  peg$currPos++;
6543
6630
  }
6544
6631
  else {
6545
6632
  s4 = peg$FAILED;
6546
6633
  if (peg$silentFails === 0) {
6547
- peg$fail(peg$e18);
6634
+ peg$fail(peg$e19);
6548
6635
  }
6549
6636
  }
6550
6637
  if (s4 === peg$FAILED) {
@@ -6553,7 +6640,7 @@ function peg$parse(input, options) {
6553
6640
  s5 = peg$parseHighlightTag();
6554
6641
  if (s5 !== peg$FAILED) {
6555
6642
  peg$savedPos = s0;
6556
- s0 = peg$f68(s3);
6643
+ s0 = peg$f70(s3);
6557
6644
  }
6558
6645
  else {
6559
6646
  peg$currPos = s0;
@@ -6720,57 +6807,57 @@ function peg$parse(input, options) {
6720
6807
  var s0, s1;
6721
6808
  peg$silentFails++;
6722
6809
  if (input.charCodeAt(peg$currPos) === 10) {
6723
- s0 = peg$c76;
6810
+ s0 = peg$c77;
6724
6811
  peg$currPos++;
6725
6812
  }
6726
6813
  else {
6727
6814
  s0 = peg$FAILED;
6728
6815
  if (peg$silentFails === 0) {
6729
- peg$fail(peg$e84);
6816
+ peg$fail(peg$e85);
6730
6817
  }
6731
6818
  }
6732
6819
  if (s0 === peg$FAILED) {
6733
- if (input.substr(peg$currPos, 2) === peg$c77) {
6734
- s0 = peg$c77;
6820
+ if (input.substr(peg$currPos, 2) === peg$c78) {
6821
+ s0 = peg$c78;
6735
6822
  peg$currPos += 2;
6736
6823
  }
6737
6824
  else {
6738
6825
  s0 = peg$FAILED;
6739
6826
  if (peg$silentFails === 0) {
6740
- peg$fail(peg$e85);
6827
+ peg$fail(peg$e86);
6741
6828
  }
6742
6829
  }
6743
6830
  if (s0 === peg$FAILED) {
6744
6831
  if (input.charCodeAt(peg$currPos) === 13) {
6745
- s0 = peg$c78;
6832
+ s0 = peg$c79;
6746
6833
  peg$currPos++;
6747
6834
  }
6748
6835
  else {
6749
6836
  s0 = peg$FAILED;
6750
6837
  if (peg$silentFails === 0) {
6751
- peg$fail(peg$e86);
6838
+ peg$fail(peg$e87);
6752
6839
  }
6753
6840
  }
6754
6841
  if (s0 === peg$FAILED) {
6755
6842
  if (input.charCodeAt(peg$currPos) === 8232) {
6756
- s0 = peg$c79;
6843
+ s0 = peg$c80;
6757
6844
  peg$currPos++;
6758
6845
  }
6759
6846
  else {
6760
6847
  s0 = peg$FAILED;
6761
6848
  if (peg$silentFails === 0) {
6762
- peg$fail(peg$e87);
6849
+ peg$fail(peg$e88);
6763
6850
  }
6764
6851
  }
6765
6852
  if (s0 === peg$FAILED) {
6766
6853
  if (input.charCodeAt(peg$currPos) === 8233) {
6767
- s0 = peg$c80;
6854
+ s0 = peg$c81;
6768
6855
  peg$currPos++;
6769
6856
  }
6770
6857
  else {
6771
6858
  s0 = peg$FAILED;
6772
6859
  if (peg$silentFails === 0) {
6773
- peg$fail(peg$e88);
6860
+ peg$fail(peg$e89);
6774
6861
  }
6775
6862
  }
6776
6863
  }
@@ -6781,7 +6868,7 @@ function peg$parse(input, options) {
6781
6868
  if (s0 === peg$FAILED) {
6782
6869
  s1 = peg$FAILED;
6783
6870
  if (peg$silentFails === 0) {
6784
- peg$fail(peg$e83);
6871
+ peg$fail(peg$e84);
6785
6872
  }
6786
6873
  }
6787
6874
  return s0;
@@ -6816,7 +6903,7 @@ function peg$parse(input, options) {
6816
6903
  peg$silentFails--;
6817
6904
  s1 = peg$FAILED;
6818
6905
  if (peg$silentFails === 0) {
6819
- peg$fail(peg$e89);
6906
+ peg$fail(peg$e90);
6820
6907
  }
6821
6908
  return s0;
6822
6909
  }
@@ -6840,7 +6927,7 @@ function peg$parse(input, options) {
6840
6927
  peg$silentFails--;
6841
6928
  s1 = peg$FAILED;
6842
6929
  if (peg$silentFails === 0) {
6843
- peg$fail(peg$e90);
6930
+ peg$fail(peg$e91);
6844
6931
  }
6845
6932
  return s0;
6846
6933
  }
@@ -6864,7 +6951,7 @@ function peg$parse(input, options) {
6864
6951
  if (s0 === peg$FAILED) {
6865
6952
  s1 = peg$FAILED;
6866
6953
  if (peg$silentFails === 0) {
6867
- peg$fail(peg$e91);
6954
+ peg$fail(peg$e92);
6868
6955
  }
6869
6956
  }
6870
6957
  return s0;
@@ -6879,14 +6966,14 @@ function peg$parse(input, options) {
6879
6966
  else {
6880
6967
  s0 = peg$FAILED;
6881
6968
  if (peg$silentFails === 0) {
6882
- peg$fail(peg$e93);
6969
+ peg$fail(peg$e94);
6883
6970
  }
6884
6971
  }
6885
6972
  peg$silentFails--;
6886
6973
  if (s0 === peg$FAILED) {
6887
6974
  s1 = peg$FAILED;
6888
6975
  if (peg$silentFails === 0) {
6889
- peg$fail(peg$e92);
6976
+ peg$fail(peg$e93);
6890
6977
  }
6891
6978
  }
6892
6979
  return s0;
@@ -6900,7 +6987,7 @@ function peg$parse(input, options) {
6900
6987
  else {
6901
6988
  s0 = peg$FAILED;
6902
6989
  if (peg$silentFails === 0) {
6903
- peg$fail(peg$e94);
6990
+ peg$fail(peg$e95);
6904
6991
  }
6905
6992
  }
6906
6993
  return s0;
@@ -6914,7 +7001,7 @@ function peg$parse(input, options) {
6914
7001
  else {
6915
7002
  s0 = peg$FAILED;
6916
7003
  if (peg$silentFails === 0) {
6917
- peg$fail(peg$e95);
7004
+ peg$fail(peg$e96);
6918
7005
  }
6919
7006
  }
6920
7007
  return s0;
@@ -6928,7 +7015,7 @@ function peg$parse(input, options) {
6928
7015
  else {
6929
7016
  s0 = peg$FAILED;
6930
7017
  if (peg$silentFails === 0) {
6931
- peg$fail(peg$e96);
7018
+ peg$fail(peg$e97);
6932
7019
  }
6933
7020
  }
6934
7021
  return s0;
@@ -6946,7 +7033,7 @@ function peg$parse(input, options) {
6946
7033
  else {
6947
7034
  s1 = peg$FAILED;
6948
7035
  if (peg$silentFails === 0) {
6949
- peg$fail(peg$e15);
7036
+ peg$fail(peg$e16);
6950
7037
  }
6951
7038
  }
6952
7039
  peg$silentFails--;
@@ -6964,38 +7051,38 @@ function peg$parse(input, options) {
6964
7051
  var s0, s1, s2, s3, s4, s5, s6, s7, s8;
6965
7052
  s0 = peg$currPos;
6966
7053
  s1 = peg$currPos;
6967
- if (input.substr(peg$currPos, 4) === peg$c81) {
6968
- s2 = peg$c81;
7054
+ if (input.substr(peg$currPos, 4) === peg$c82) {
7055
+ s2 = peg$c82;
6969
7056
  peg$currPos += 4;
6970
7057
  }
6971
7058
  else {
6972
7059
  s2 = peg$FAILED;
6973
7060
  if (peg$silentFails === 0) {
6974
- peg$fail(peg$e97);
7061
+ peg$fail(peg$e98);
6975
7062
  }
6976
7063
  }
6977
7064
  if (s2 !== peg$FAILED) {
6978
7065
  if (input.charCodeAt(peg$currPos) === 115) {
6979
- s3 = peg$c82;
7066
+ s3 = peg$c83;
6980
7067
  peg$currPos++;
6981
7068
  }
6982
7069
  else {
6983
7070
  s3 = peg$FAILED;
6984
7071
  if (peg$silentFails === 0) {
6985
- peg$fail(peg$e98);
7072
+ peg$fail(peg$e99);
6986
7073
  }
6987
7074
  }
6988
7075
  if (s3 === peg$FAILED) {
6989
7076
  s3 = null;
6990
7077
  }
6991
- if (input.substr(peg$currPos, 3) === peg$c83) {
6992
- s4 = peg$c83;
7078
+ if (input.substr(peg$currPos, 3) === peg$c84) {
7079
+ s4 = peg$c84;
6993
7080
  peg$currPos += 3;
6994
7081
  }
6995
7082
  else {
6996
7083
  s4 = peg$FAILED;
6997
7084
  if (peg$silentFails === 0) {
6998
- peg$fail(peg$e99);
7085
+ peg$fail(peg$e100);
6999
7086
  }
7000
7087
  }
7001
7088
  if (s4 !== peg$FAILED) {
@@ -7082,38 +7169,38 @@ function peg$parse(input, options) {
7082
7169
  s0 = peg$currPos;
7083
7170
  s1 = peg$currPos;
7084
7171
  s2 = peg$currPos;
7085
- if (input.substr(peg$currPos, 4) === peg$c81) {
7086
- s3 = peg$c81;
7172
+ if (input.substr(peg$currPos, 4) === peg$c82) {
7173
+ s3 = peg$c82;
7087
7174
  peg$currPos += 4;
7088
7175
  }
7089
7176
  else {
7090
7177
  s3 = peg$FAILED;
7091
7178
  if (peg$silentFails === 0) {
7092
- peg$fail(peg$e97);
7179
+ peg$fail(peg$e98);
7093
7180
  }
7094
7181
  }
7095
7182
  if (s3 !== peg$FAILED) {
7096
7183
  if (input.charCodeAt(peg$currPos) === 115) {
7097
- s4 = peg$c82;
7184
+ s4 = peg$c83;
7098
7185
  peg$currPos++;
7099
7186
  }
7100
7187
  else {
7101
7188
  s4 = peg$FAILED;
7102
7189
  if (peg$silentFails === 0) {
7103
- peg$fail(peg$e98);
7190
+ peg$fail(peg$e99);
7104
7191
  }
7105
7192
  }
7106
7193
  if (s4 === peg$FAILED) {
7107
7194
  s4 = null;
7108
7195
  }
7109
- if (input.substr(peg$currPos, 3) === peg$c83) {
7110
- s5 = peg$c83;
7196
+ if (input.substr(peg$currPos, 3) === peg$c84) {
7197
+ s5 = peg$c84;
7111
7198
  peg$currPos += 3;
7112
7199
  }
7113
7200
  else {
7114
7201
  s5 = peg$FAILED;
7115
7202
  if (peg$silentFails === 0) {
7116
- peg$fail(peg$e99);
7203
+ peg$fail(peg$e100);
7117
7204
  }
7118
7205
  }
7119
7206
  if (s5 !== peg$FAILED) {
@@ -7130,14 +7217,14 @@ function peg$parse(input, options) {
7130
7217
  s2 = peg$FAILED;
7131
7218
  }
7132
7219
  if (s2 === peg$FAILED) {
7133
- if (input.substr(peg$currPos, 7) === peg$c84) {
7134
- s2 = peg$c84;
7220
+ if (input.substr(peg$currPos, 7) === peg$c85) {
7221
+ s2 = peg$c85;
7135
7222
  peg$currPos += 7;
7136
7223
  }
7137
7224
  else {
7138
7225
  s2 = peg$FAILED;
7139
7226
  if (peg$silentFails === 0) {
7140
- peg$fail(peg$e100);
7227
+ peg$fail(peg$e101);
7141
7228
  }
7142
7229
  }
7143
7230
  }
@@ -7209,7 +7296,7 @@ function peg$parse(input, options) {
7209
7296
  }
7210
7297
  s2 = input.substring(s2, peg$currPos);
7211
7298
  peg$savedPos = s0;
7212
- s0 = peg$f69(s1, s2);
7299
+ s0 = peg$f71(s1, s2);
7213
7300
  }
7214
7301
  else {
7215
7302
  peg$currPos = s0;
@@ -7226,40 +7313,40 @@ function peg$parse(input, options) {
7226
7313
  else {
7227
7314
  s0 = peg$FAILED;
7228
7315
  if (peg$silentFails === 0) {
7229
- peg$fail(peg$e101);
7316
+ peg$fail(peg$e102);
7230
7317
  }
7231
7318
  }
7232
7319
  if (s0 === peg$FAILED) {
7233
7320
  if (input.charCodeAt(peg$currPos) === 126) {
7234
- s0 = peg$c85;
7321
+ s0 = peg$c86;
7235
7322
  peg$currPos++;
7236
7323
  }
7237
7324
  else {
7238
7325
  s0 = peg$FAILED;
7239
7326
  if (peg$silentFails === 0) {
7240
- peg$fail(peg$e102);
7327
+ peg$fail(peg$e103);
7241
7328
  }
7242
7329
  }
7243
7330
  if (s0 === peg$FAILED) {
7244
7331
  if (input.charCodeAt(peg$currPos) === 94) {
7245
- s0 = peg$c86;
7332
+ s0 = peg$c87;
7246
7333
  peg$currPos++;
7247
7334
  }
7248
7335
  else {
7249
7336
  s0 = peg$FAILED;
7250
7337
  if (peg$silentFails === 0) {
7251
- peg$fail(peg$e103);
7338
+ peg$fail(peg$e104);
7252
7339
  }
7253
7340
  }
7254
7341
  if (s0 === peg$FAILED) {
7255
7342
  if (input.charCodeAt(peg$currPos) === 39) {
7256
- s0 = peg$c87;
7343
+ s0 = peg$c88;
7257
7344
  peg$currPos++;
7258
7345
  }
7259
7346
  else {
7260
7347
  s0 = peg$FAILED;
7261
7348
  if (peg$silentFails === 0) {
7262
- peg$fail(peg$e104);
7349
+ peg$fail(peg$e105);
7263
7350
  }
7264
7351
  }
7265
7352
  }