@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
@@ -15,6 +15,15 @@ function unbreakscape(_str) {
15
15
  u_ = Breakscape.unbreakscape(u_);
16
16
  return u_;
17
17
  }
18
+ function removeTempParsingParent(obj) {
19
+ if (obj && typeof obj === 'object') {
20
+ delete obj._tempParsingParent; // Remove the property if exists
21
+ Object.keys(obj).forEach(key => {
22
+ // Recursively call the function for all sub-objects
23
+ removeTempParsingParent(obj[key]);
24
+ });
25
+ }
26
+ }
18
27
  function bitmarkPlusPlus(_str) {
19
28
  // if (parser) {
20
29
  // return parser.parse(_str, { startRule: "bitmarkPlusPlus" })
@@ -211,83 +220,84 @@ function peg$parse(input, options) {
211
220
  var peg$c8 = "JavaScript";
212
221
  var peg$c9 = "\u2022 ";
213
222
  var peg$c10 = "\u20221 ";
214
- var peg$c11 = "\u2022+ ";
215
- var peg$c12 = "\u2022- ";
216
- var peg$c13 = "\t";
217
- var peg$c14 = "image";
218
- var peg$c15 = " ";
219
- var peg$c16 = "#";
220
- var peg$c17 = "@";
221
- var peg$c18 = "width";
222
- var peg$c19 = "height";
223
- var peg$c20 = "=";
224
- var peg$c21 = "\uD835\uDC53";
225
- var peg$c22 = "link:";
226
- var peg$c23 = "var:";
227
- var peg$c24 = "code:";
228
- var peg$c25 = "timer";
229
- var peg$c26 = "timer:";
230
- var peg$c27 = "duration:";
231
- var peg$c28 = "P";
232
- var peg$c29 = "color:";
233
- var peg$c30 = "bold";
234
- var peg$c31 = "italic";
235
- var peg$c32 = "light";
236
- var peg$c33 = "highlight";
237
- var peg$c34 = "strike";
238
- var peg$c35 = "subscript";
239
- var peg$c36 = "superscript";
240
- var peg$c37 = "ins";
241
- var peg$c38 = "del";
242
- var peg$c39 = "underline";
243
- var peg$c40 = "doubleUnderline";
244
- var peg$c41 = "circle";
245
- var peg$c42 = "languageEm";
246
- var peg$c43 = "userUnderline";
247
- var peg$c44 = "userDoubleUnderline";
248
- var peg$c45 = "userStrike";
249
- var peg$c46 = "userCircle";
250
- var peg$c47 = "userHighlight";
251
- var peg$c48 = "aqua";
252
- var peg$c49 = "black";
253
- var peg$c50 = "blue";
254
- var peg$c51 = "pink";
255
- var peg$c52 = "fuchsia";
256
- var peg$c53 = "lightgrey";
257
- var peg$c54 = "gray";
258
- var peg$c55 = "darkgray";
259
- var peg$c56 = "green";
260
- var peg$c57 = "lime";
261
- var peg$c58 = "magenta";
262
- var peg$c59 = "maroon";
263
- var peg$c60 = "navy";
264
- var peg$c61 = "olive";
265
- var peg$c62 = "orange";
266
- var peg$c63 = "purple";
267
- var peg$c64 = "red";
268
- var peg$c65 = "silver";
269
- var peg$c66 = "teal";
270
- var peg$c67 = "violet";
271
- var peg$c68 = "white";
272
- var peg$c69 = "yellow";
273
- var peg$c70 = "*";
274
- var peg$c71 = "_";
275
- var peg$c72 = "`";
276
- var peg$c73 = "!";
277
- var peg$c74 = "[!";
278
- var peg$c75 = "]";
279
- var peg$c76 = "\n";
280
- var peg$c77 = "\r\n";
281
- var peg$c78 = "\r";
282
- var peg$c79 = "\u2028";
283
- var peg$c80 = "\u2029";
284
- var peg$c81 = "http";
285
- var peg$c82 = "s";
286
- var peg$c83 = "://";
287
- var peg$c84 = "mailto:";
288
- var peg$c85 = "~";
289
- var peg$c86 = "^";
290
- var peg$c87 = "'";
223
+ var peg$c11 = "\u2022A ";
224
+ var peg$c12 = "\u2022+ ";
225
+ var peg$c13 = "\u2022- ";
226
+ var peg$c14 = "\t";
227
+ var peg$c15 = "image";
228
+ var peg$c16 = " ";
229
+ var peg$c17 = "#";
230
+ var peg$c18 = "@";
231
+ var peg$c19 = "width";
232
+ var peg$c20 = "height";
233
+ var peg$c21 = "=";
234
+ var peg$c22 = "\uD835\uDC53";
235
+ var peg$c23 = "link:";
236
+ var peg$c24 = "var:";
237
+ var peg$c25 = "code:";
238
+ var peg$c26 = "timer";
239
+ var peg$c27 = "timer:";
240
+ var peg$c28 = "duration:";
241
+ var peg$c29 = "P";
242
+ var peg$c30 = "color:";
243
+ var peg$c31 = "bold";
244
+ var peg$c32 = "italic";
245
+ var peg$c33 = "light";
246
+ var peg$c34 = "highlight";
247
+ var peg$c35 = "strike";
248
+ var peg$c36 = "subscript";
249
+ var peg$c37 = "superscript";
250
+ var peg$c38 = "ins";
251
+ var peg$c39 = "del";
252
+ var peg$c40 = "underline";
253
+ var peg$c41 = "doubleUnderline";
254
+ var peg$c42 = "circle";
255
+ var peg$c43 = "languageEm";
256
+ var peg$c44 = "userUnderline";
257
+ var peg$c45 = "userDoubleUnderline";
258
+ var peg$c46 = "userStrike";
259
+ var peg$c47 = "userCircle";
260
+ var peg$c48 = "userHighlight";
261
+ var peg$c49 = "aqua";
262
+ var peg$c50 = "black";
263
+ var peg$c51 = "blue";
264
+ var peg$c52 = "pink";
265
+ var peg$c53 = "fuchsia";
266
+ var peg$c54 = "lightgrey";
267
+ var peg$c55 = "gray";
268
+ var peg$c56 = "darkgray";
269
+ var peg$c57 = "green";
270
+ var peg$c58 = "lime";
271
+ var peg$c59 = "magenta";
272
+ var peg$c60 = "maroon";
273
+ var peg$c61 = "navy";
274
+ var peg$c62 = "olive";
275
+ var peg$c63 = "orange";
276
+ var peg$c64 = "purple";
277
+ var peg$c65 = "red";
278
+ var peg$c66 = "silver";
279
+ var peg$c67 = "teal";
280
+ var peg$c68 = "violet";
281
+ var peg$c69 = "white";
282
+ var peg$c70 = "yellow";
283
+ var peg$c71 = "*";
284
+ var peg$c72 = "_";
285
+ var peg$c73 = "`";
286
+ var peg$c74 = "!";
287
+ var peg$c75 = "[!";
288
+ var peg$c76 = "]";
289
+ var peg$c77 = "\n";
290
+ var peg$c78 = "\r\n";
291
+ var peg$c79 = "\r";
292
+ var peg$c80 = "\u2028";
293
+ var peg$c81 = "\u2029";
294
+ var peg$c82 = "http";
295
+ var peg$c83 = "s";
296
+ var peg$c84 = "://";
297
+ var peg$c85 = "mailto:";
298
+ var peg$c86 = "~";
299
+ var peg$c87 = "^";
300
+ var peg$c88 = "'";
291
301
  var peg$r0 = /^[ \t]/;
292
302
  var peg$r1 = /^[0-9]/;
293
303
  var peg$r2 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
@@ -308,100 +318,101 @@ function peg$parse(input, options) {
308
318
  var peg$e10 = peg$literalExpectation("JavaScript", false);
309
319
  var peg$e11 = peg$literalExpectation("\u2022 ", false);
310
320
  var peg$e12 = peg$literalExpectation("\u20221 ", false);
311
- var peg$e13 = peg$literalExpectation("\u2022+ ", false);
312
- var peg$e14 = peg$literalExpectation("\u2022- ", false);
313
- var peg$e15 = peg$anyExpectation();
314
- var peg$e16 = peg$literalExpectation("\t", false);
315
- var peg$e17 = peg$literalExpectation("image", false);
316
- var peg$e18 = peg$literalExpectation(" ", false);
317
- var peg$e19 = peg$literalExpectation("#", false);
318
- var peg$e20 = peg$literalExpectation("@", false);
319
- var peg$e21 = peg$classExpectation([["0", "9"]], false, false);
320
- var peg$e22 = peg$literalExpectation("width", false);
321
- var peg$e23 = peg$literalExpectation("height", false);
322
- var peg$e24 = peg$otherExpectation("StyledString");
323
- var peg$e25 = peg$literalExpectation("=", false);
324
- var peg$e26 = peg$literalExpectation("\uD835\uDC53", false);
325
- var peg$e27 = peg$literalExpectation("link:", false);
326
- var peg$e28 = peg$literalExpectation("var:", false);
327
- var peg$e29 = peg$literalExpectation("code:", false);
328
- var peg$e30 = peg$literalExpectation("timer", false);
329
- var peg$e31 = peg$literalExpectation("timer:", false);
330
- var peg$e32 = peg$literalExpectation("duration:", false);
331
- var peg$e33 = peg$literalExpectation("P", false);
332
- var peg$e34 = peg$literalExpectation("color:", false);
333
- var peg$e35 = peg$literalExpectation("bold", false);
334
- var peg$e36 = peg$literalExpectation("italic", false);
335
- var peg$e37 = peg$literalExpectation("light", false);
336
- var peg$e38 = peg$literalExpectation("highlight", false);
337
- var peg$e39 = peg$literalExpectation("strike", false);
338
- var peg$e40 = peg$literalExpectation("subscript", false);
339
- var peg$e41 = peg$literalExpectation("superscript", false);
340
- var peg$e42 = peg$literalExpectation("ins", false);
341
- var peg$e43 = peg$literalExpectation("del", false);
342
- var peg$e44 = peg$literalExpectation("underline", false);
343
- var peg$e45 = peg$literalExpectation("doubleUnderline", false);
344
- var peg$e46 = peg$literalExpectation("circle", false);
345
- var peg$e47 = peg$literalExpectation("languageEm", false);
346
- var peg$e48 = peg$literalExpectation("userUnderline", false);
347
- var peg$e49 = peg$literalExpectation("userDoubleUnderline", false);
348
- var peg$e50 = peg$literalExpectation("userStrike", false);
349
- var peg$e51 = peg$literalExpectation("userCircle", false);
350
- var peg$e52 = peg$literalExpectation("userHighlight", false);
351
- var peg$e53 = peg$literalExpectation("aqua", false);
352
- var peg$e54 = peg$literalExpectation("black", false);
353
- var peg$e55 = peg$literalExpectation("blue", false);
354
- var peg$e56 = peg$literalExpectation("pink", false);
355
- var peg$e57 = peg$literalExpectation("fuchsia", false);
356
- var peg$e58 = peg$literalExpectation("lightgrey", false);
357
- var peg$e59 = peg$literalExpectation("gray", false);
358
- var peg$e60 = peg$literalExpectation("darkgray", false);
359
- var peg$e61 = peg$literalExpectation("green", false);
360
- var peg$e62 = peg$literalExpectation("lime", false);
361
- var peg$e63 = peg$literalExpectation("magenta", false);
362
- var peg$e64 = peg$literalExpectation("maroon", false);
363
- var peg$e65 = peg$literalExpectation("navy", false);
364
- var peg$e66 = peg$literalExpectation("olive", false);
365
- var peg$e67 = peg$literalExpectation("orange", false);
366
- var peg$e68 = peg$literalExpectation("purple", false);
367
- var peg$e69 = peg$literalExpectation("red", false);
368
- var peg$e70 = peg$literalExpectation("silver", false);
369
- var peg$e71 = peg$literalExpectation("teal", false);
370
- var peg$e72 = peg$literalExpectation("violet", false);
371
- var peg$e73 = peg$literalExpectation("white", false);
372
- var peg$e74 = peg$literalExpectation("yellow", false);
373
- var peg$e75 = peg$otherExpectation("MinimalStyledText");
374
- var peg$e76 = peg$otherExpectation("MinimalStyledString");
375
- var peg$e77 = peg$literalExpectation("*", false);
376
- var peg$e78 = peg$literalExpectation("_", false);
377
- var peg$e79 = peg$literalExpectation("`", false);
378
- var peg$e80 = peg$literalExpectation("!", false);
379
- var peg$e81 = peg$literalExpectation("[!", false);
380
- var peg$e82 = peg$literalExpectation("]", false);
381
- var peg$e83 = peg$otherExpectation("Line Terminator");
382
- var peg$e84 = peg$literalExpectation("\n", false);
383
- var peg$e85 = peg$literalExpectation("\r\n", false);
384
- var peg$e86 = peg$literalExpectation("\r", false);
385
- var peg$e87 = peg$literalExpectation("\u2028", false);
386
- var peg$e88 = peg$literalExpectation("\u2029", false);
387
- var peg$e89 = peg$otherExpectation("whitespace in line");
388
- var peg$e90 = peg$otherExpectation("space");
389
- var peg$e91 = peg$otherExpectation("language tag separator");
390
- var peg$e92 = peg$otherExpectation("white space, separator");
391
- var peg$e93 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
392
- var peg$e94 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
393
- var peg$e95 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
394
- var peg$e96 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
395
- var peg$e97 = peg$literalExpectation("http", false);
396
- var peg$e98 = peg$literalExpectation("s", false);
397
- var peg$e99 = peg$literalExpectation("://", false);
398
- var peg$e100 = peg$literalExpectation("mailto:", false);
399
- var peg$e101 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
400
- var peg$e102 = peg$literalExpectation("~", false);
401
- var peg$e103 = peg$literalExpectation("^", false);
402
- var peg$e104 = peg$literalExpectation("'", false);
321
+ var peg$e13 = peg$literalExpectation("\u2022A ", false);
322
+ var peg$e14 = peg$literalExpectation("\u2022+ ", false);
323
+ var peg$e15 = peg$literalExpectation("\u2022- ", false);
324
+ var peg$e16 = peg$anyExpectation();
325
+ var peg$e17 = peg$literalExpectation("\t", false);
326
+ var peg$e18 = peg$literalExpectation("image", false);
327
+ var peg$e19 = peg$literalExpectation(" ", false);
328
+ var peg$e20 = peg$literalExpectation("#", false);
329
+ var peg$e21 = peg$literalExpectation("@", false);
330
+ var peg$e22 = peg$classExpectation([["0", "9"]], false, false);
331
+ var peg$e23 = peg$literalExpectation("width", false);
332
+ var peg$e24 = peg$literalExpectation("height", false);
333
+ var peg$e25 = peg$otherExpectation("StyledString");
334
+ var peg$e26 = peg$literalExpectation("=", false);
335
+ var peg$e27 = peg$literalExpectation("\uD835\uDC53", false);
336
+ var peg$e28 = peg$literalExpectation("link:", false);
337
+ var peg$e29 = peg$literalExpectation("var:", false);
338
+ var peg$e30 = peg$literalExpectation("code:", false);
339
+ var peg$e31 = peg$literalExpectation("timer", false);
340
+ var peg$e32 = peg$literalExpectation("timer:", false);
341
+ var peg$e33 = peg$literalExpectation("duration:", false);
342
+ var peg$e34 = peg$literalExpectation("P", false);
343
+ var peg$e35 = peg$literalExpectation("color:", false);
344
+ var peg$e36 = peg$literalExpectation("bold", false);
345
+ var peg$e37 = peg$literalExpectation("italic", false);
346
+ var peg$e38 = peg$literalExpectation("light", false);
347
+ var peg$e39 = peg$literalExpectation("highlight", false);
348
+ var peg$e40 = peg$literalExpectation("strike", false);
349
+ var peg$e41 = peg$literalExpectation("subscript", false);
350
+ var peg$e42 = peg$literalExpectation("superscript", false);
351
+ var peg$e43 = peg$literalExpectation("ins", false);
352
+ var peg$e44 = peg$literalExpectation("del", false);
353
+ var peg$e45 = peg$literalExpectation("underline", false);
354
+ var peg$e46 = peg$literalExpectation("doubleUnderline", false);
355
+ var peg$e47 = peg$literalExpectation("circle", false);
356
+ var peg$e48 = peg$literalExpectation("languageEm", false);
357
+ var peg$e49 = peg$literalExpectation("userUnderline", false);
358
+ var peg$e50 = peg$literalExpectation("userDoubleUnderline", false);
359
+ var peg$e51 = peg$literalExpectation("userStrike", false);
360
+ var peg$e52 = peg$literalExpectation("userCircle", false);
361
+ var peg$e53 = peg$literalExpectation("userHighlight", false);
362
+ var peg$e54 = peg$literalExpectation("aqua", false);
363
+ var peg$e55 = peg$literalExpectation("black", false);
364
+ var peg$e56 = peg$literalExpectation("blue", false);
365
+ var peg$e57 = peg$literalExpectation("pink", false);
366
+ var peg$e58 = peg$literalExpectation("fuchsia", false);
367
+ var peg$e59 = peg$literalExpectation("lightgrey", false);
368
+ var peg$e60 = peg$literalExpectation("gray", false);
369
+ var peg$e61 = peg$literalExpectation("darkgray", false);
370
+ var peg$e62 = peg$literalExpectation("green", false);
371
+ var peg$e63 = peg$literalExpectation("lime", false);
372
+ var peg$e64 = peg$literalExpectation("magenta", false);
373
+ var peg$e65 = peg$literalExpectation("maroon", false);
374
+ var peg$e66 = peg$literalExpectation("navy", false);
375
+ var peg$e67 = peg$literalExpectation("olive", false);
376
+ var peg$e68 = peg$literalExpectation("orange", false);
377
+ var peg$e69 = peg$literalExpectation("purple", false);
378
+ var peg$e70 = peg$literalExpectation("red", false);
379
+ var peg$e71 = peg$literalExpectation("silver", false);
380
+ var peg$e72 = peg$literalExpectation("teal", false);
381
+ var peg$e73 = peg$literalExpectation("violet", false);
382
+ var peg$e74 = peg$literalExpectation("white", false);
383
+ var peg$e75 = peg$literalExpectation("yellow", false);
384
+ var peg$e76 = peg$otherExpectation("MinimalStyledText");
385
+ var peg$e77 = peg$otherExpectation("MinimalStyledString");
386
+ var peg$e78 = peg$literalExpectation("*", false);
387
+ var peg$e79 = peg$literalExpectation("_", false);
388
+ var peg$e80 = peg$literalExpectation("`", false);
389
+ var peg$e81 = peg$literalExpectation("!", false);
390
+ var peg$e82 = peg$literalExpectation("[!", false);
391
+ var peg$e83 = peg$literalExpectation("]", false);
392
+ var peg$e84 = peg$otherExpectation("Line Terminator");
393
+ var peg$e85 = peg$literalExpectation("\n", false);
394
+ var peg$e86 = peg$literalExpectation("\r\n", false);
395
+ var peg$e87 = peg$literalExpectation("\r", false);
396
+ var peg$e88 = peg$literalExpectation("\u2028", false);
397
+ var peg$e89 = peg$literalExpectation("\u2029", false);
398
+ var peg$e90 = peg$otherExpectation("whitespace in line");
399
+ var peg$e91 = peg$otherExpectation("space");
400
+ var peg$e92 = peg$otherExpectation("language tag separator");
401
+ var peg$e93 = peg$otherExpectation("white space, separator");
402
+ var peg$e94 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
403
+ var peg$e95 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
404
+ var peg$e96 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
405
+ var peg$e97 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
406
+ var peg$e98 = peg$literalExpectation("http", false);
407
+ var peg$e99 = peg$literalExpectation("s", false);
408
+ var peg$e100 = peg$literalExpectation("://", false);
409
+ var peg$e101 = peg$literalExpectation("mailto:", false);
410
+ var peg$e102 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
411
+ var peg$e103 = peg$literalExpectation("~", false);
412
+ var peg$e104 = peg$literalExpectation("^", false);
413
+ var peg$e105 = peg$literalExpectation("'", false);
403
414
  var peg$f0 = function (b) { return Object.assign({}, b); };
404
- var peg$f1 = function (b) { return Object.assign({}, b); };
415
+ var peg$f1 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
405
416
  var peg$f2 = function (b) { return Object.assign({}, b); };
406
417
  var peg$f3 = function (b) { return Object.assign({}, b); };
407
418
  var peg$f4 = function (b) { return Object.assign({}, b); };
@@ -418,17 +429,22 @@ function peg$parse(input, options) {
418
429
  var peg$f15 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
419
430
  var peg$f16 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
420
431
  var peg$f17 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
421
- var peg$f18 = function () { return { type: "bulletList" }; };
422
- var peg$f19 = function () { return { type: "orderedList" }; };
423
- var peg$f20 = function () { return { type: "taskList" }; };
424
- var peg$f21 = function (lt, listItem, lines, c) { return c; };
425
- var peg$f22 = function (lt, listItem, lines, children) {
426
- let parent = 'bulletList';
432
+ var peg$f18 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
433
+ var peg$f19 = function () { return { type: "bulletList" }; };
434
+ var peg$f20 = function () { return { type: "orderedList" }; };
435
+ var peg$f21 = function () { return { type: "letteredList" }; };
436
+ var peg$f22 = function () { return { type: "taskList" }; };
437
+ var peg$f23 = function (lt, listItem, lines, c) { return c; };
438
+ var peg$f24 = function (lt, listItem, lines, children) {
439
+ let _tempParsingParent = 'bulletList';
427
440
  if ('•1 ' == lt) {
428
- parent = 'orderedList';
441
+ _tempParsingParent = 'orderedList';
442
+ }
443
+ if ('•A ' == lt) {
444
+ _tempParsingParent = 'letteredList';
429
445
  }
430
446
  if ('•+ ' == lt || '•- ' == lt) {
431
- parent = 'taskList';
447
+ _tempParsingParent = 'taskList';
432
448
  }
433
449
  let li = (listItem + lines.join("")).trim();
434
450
  let item = {
@@ -437,21 +453,21 @@ function peg$parse(input, options) {
437
453
  content: bitmarkPlusString(li)
438
454
  };
439
455
  let content = [item];
440
- if (children && children[0] && children[0].parent) {
456
+ if (children && children[0] && children[0]._tempParsingParent) {
441
457
  let sublist = {
442
- type: children[0].parent,
458
+ type: children[0]._tempParsingParent,
443
459
  attrs: { start: 1 },
444
460
  content: children,
445
- parent: ""
461
+ _tempParsingParent: ""
446
462
  };
447
- if ("orderedList" == sublist.parent) {
463
+ if ("orderedList" == sublist._tempParsingParent || "letteredList" == sublist._tempParsingParent) {
448
464
  sublist.attrs.start = 1;
449
465
  }
450
466
  content.push(sublist);
451
467
  }
452
468
  let t = "listItem";
453
469
  let attrs = {};
454
- if ("taskList" == parent) {
470
+ if ("taskList" == _tempParsingParent) {
455
471
  t = "taskItem";
456
472
  let checked = false;
457
473
  if ('•+ ' == lt) {
@@ -459,18 +475,18 @@ function peg$parse(input, options) {
459
475
  }
460
476
  attrs = { checked };
461
477
  }
462
- return { type: t, content, parent, attrs };
478
+ return { type: t, content, _tempParsingParent, attrs };
463
479
  };
464
- var peg$f23 = function (ll) { return ll; };
465
- var peg$f24 = function (i) { return i.join("") === indent; };
466
- var peg$f25 = function (i) { return i.length > indent.length; };
467
- var peg$f26 = function (i) { indentStack.push(indent); indent = i.join(""); };
468
- var peg$f27 = function () { indent = indentStack.pop(); return true; };
469
- var peg$f28 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
470
- var peg$f29 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
480
+ var peg$f25 = function (ll) { return ll; };
481
+ var peg$f26 = function (i) { return i.join("") === indent; };
482
+ var peg$f27 = function (i) { return i.length > indent.length; };
483
+ var peg$f28 = function (i) { indentStack.push(indent); indent = i.join(""); };
484
+ var peg$f29 = function () { indent = indentStack.pop(); return true; };
471
485
  var peg$f30 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
472
- var peg$f31 = function (t) { return t; };
473
- var peg$f32 = function (t, u, ch) {
486
+ var peg$f31 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
487
+ var peg$f32 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
488
+ var peg$f33 = function (t) { return t; };
489
+ var peg$f34 = function (t, u, ch) {
474
490
  const chain = Object.assign({}, ...ch);
475
491
  let textAlign_ = chain.captionAlign || "left";
476
492
  delete chain.captionAlign;
@@ -488,44 +504,44 @@ function peg$parse(input, options) {
488
504
  };
489
505
  return image;
490
506
  };
491
- var peg$f33 = function (ch) { return ch; };
492
- var peg$f34 = function (str) { return { comment: str }; };
493
- var peg$f35 = function (p, v) { return { [p]: parseInt(v) }; };
494
- var peg$f36 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
495
- var peg$f37 = function (p, v) { return { [p]: v }; };
496
- var peg$f38 = function (p) { return { [p]: true }; };
497
- var peg$f39 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
498
- var peg$f40 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
499
- var peg$f41 = function () { return { "type": "hardBreak" }; };
500
- var peg$f42 = function (t) { return { text: unbreakscape(t), type: "text" }; };
501
- var peg$f43 = function (t) { return { index: +t, type: "bit" }; };
502
- var peg$f44 = function (t, marks) { if (!marks)
507
+ var peg$f35 = function (ch) { return ch; };
508
+ var peg$f36 = function (str) { return { comment: str }; };
509
+ var peg$f37 = function (p, v) { return { [p]: parseInt(v) }; };
510
+ var peg$f38 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
511
+ var peg$f39 = function (p, v) { return { [p]: v }; };
512
+ var peg$f40 = function (p) { return { [p]: true }; };
513
+ var peg$f41 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
514
+ var peg$f42 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
515
+ var peg$f43 = function () { return { "type": "hardBreak" }; };
516
+ var peg$f44 = function (t) { return { text: unbreakscape(t), type: "text" }; };
517
+ var peg$f45 = function (t) { return { index: +t, type: "bit" }; };
518
+ var peg$f46 = function (t, marks) { if (!marks)
503
519
  marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
504
- var peg$f45 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
505
- var peg$f46 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
506
- var peg$f47 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
507
- var peg$f48 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
508
- var peg$f49 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
509
- var peg$f50 = function (ch) { return ch; };
510
- var peg$f51 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
511
- var peg$f52 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
512
- var peg$f53 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
513
- var peg$f54 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
514
- var peg$f55 = function () { return { type: 'timer', attrs: { name: "" } }; };
515
- var peg$f56 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
516
- var peg$f57 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
517
- var peg$f58 = function (color) { return { type: 'color', attrs: { color } }; };
518
- var peg$f59 = function (style) { return { type: style }; };
519
- var peg$f60 = function (str) { return { type: "comment", comment: str }; };
520
- var peg$f61 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
521
- var peg$f62 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
522
- var peg$f63 = function (t) { return { text: unbreakscape(t), type: "text" }; };
523
- var peg$f64 = function (t) { return { index: +t, type: "bit" }; };
524
- var peg$f65 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
525
- var peg$f66 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
526
- var peg$f67 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
527
- var peg$f68 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
528
- var peg$f69 = function (pr, t) { return { pr, t }; };
520
+ var peg$f47 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
521
+ var peg$f48 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
522
+ var peg$f49 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
523
+ var peg$f50 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
524
+ var peg$f51 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
525
+ var peg$f52 = function (ch) { return ch; };
526
+ var peg$f53 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
527
+ var peg$f54 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
528
+ var peg$f55 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
529
+ var peg$f56 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
530
+ var peg$f57 = function () { return { type: 'timer', attrs: { name: "" } }; };
531
+ var peg$f58 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
532
+ var peg$f59 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
533
+ var peg$f60 = function (color) { return { type: 'color', attrs: { color } }; };
534
+ var peg$f61 = function (style) { return { type: style }; };
535
+ var peg$f62 = function (str) { return { type: "comment", comment: str }; };
536
+ var peg$f63 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
537
+ var peg$f64 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
538
+ var peg$f65 = function (t) { return { text: unbreakscape(t), type: "text" }; };
539
+ var peg$f66 = function (t) { return { index: +t, type: "bit" }; };
540
+ var peg$f67 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
541
+ var peg$f68 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
542
+ var peg$f69 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
543
+ var peg$f70 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
544
+ var peg$f71 = function (pr, t) { return { pr, t }; };
529
545
  var peg$currPos = 0;
530
546
  var peg$savedPos = 0;
531
547
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -1254,7 +1270,7 @@ function peg$parse(input, options) {
1254
1270
  }
1255
1271
  return s0;
1256
1272
  }
1257
- function peg$parseTaskListTag() {
1273
+ function peg$parseLetteredListTag() {
1258
1274
  var s0;
1259
1275
  if (input.substr(peg$currPos, 3) === peg$c11) {
1260
1276
  s0 = peg$c11;
@@ -1266,15 +1282,29 @@ function peg$parse(input, options) {
1266
1282
  peg$fail(peg$e13);
1267
1283
  }
1268
1284
  }
1285
+ return s0;
1286
+ }
1287
+ function peg$parseTaskListTag() {
1288
+ var s0;
1289
+ if (input.substr(peg$currPos, 3) === peg$c12) {
1290
+ s0 = peg$c12;
1291
+ peg$currPos += 3;
1292
+ }
1293
+ else {
1294
+ s0 = peg$FAILED;
1295
+ if (peg$silentFails === 0) {
1296
+ peg$fail(peg$e14);
1297
+ }
1298
+ }
1269
1299
  if (s0 === peg$FAILED) {
1270
- if (input.substr(peg$currPos, 3) === peg$c12) {
1271
- s0 = peg$c12;
1300
+ if (input.substr(peg$currPos, 3) === peg$c13) {
1301
+ s0 = peg$c13;
1272
1302
  peg$currPos += 3;
1273
1303
  }
1274
1304
  else {
1275
1305
  s0 = peg$FAILED;
1276
1306
  if (peg$silentFails === 0) {
1277
- peg$fail(peg$e14);
1307
+ peg$fail(peg$e15);
1278
1308
  }
1279
1309
  }
1280
1310
  }
@@ -1286,7 +1316,10 @@ function peg$parse(input, options) {
1286
1316
  if (s0 === peg$FAILED) {
1287
1317
  s0 = peg$parseOrderedListTag();
1288
1318
  if (s0 === peg$FAILED) {
1289
- s0 = peg$parseTaskListTag();
1319
+ s0 = peg$parseLetteredListTag();
1320
+ if (s0 === peg$FAILED) {
1321
+ s0 = peg$parseTaskListTag();
1322
+ }
1290
1323
  }
1291
1324
  }
1292
1325
  return s0;
@@ -1358,7 +1391,7 @@ function peg$parse(input, options) {
1358
1391
  }
1359
1392
  if (s0 === peg$FAILED) {
1360
1393
  s0 = peg$currPos;
1361
- s1 = peg$parseTaskListContainer();
1394
+ s1 = peg$parseLetteredListContainer();
1362
1395
  if (s1 !== peg$FAILED) {
1363
1396
  s2 = [];
1364
1397
  s3 = peg$parseBulletListLine();
@@ -1388,6 +1421,39 @@ function peg$parse(input, options) {
1388
1421
  peg$currPos = s0;
1389
1422
  s0 = peg$FAILED;
1390
1423
  }
1424
+ if (s0 === peg$FAILED) {
1425
+ s0 = peg$currPos;
1426
+ s1 = peg$parseTaskListContainer();
1427
+ if (s1 !== peg$FAILED) {
1428
+ s2 = [];
1429
+ s3 = peg$parseBulletListLine();
1430
+ if (s3 !== peg$FAILED) {
1431
+ while (s3 !== peg$FAILED) {
1432
+ s2.push(s3);
1433
+ s3 = peg$parseBulletListLine();
1434
+ }
1435
+ }
1436
+ else {
1437
+ s2 = peg$FAILED;
1438
+ }
1439
+ if (s2 !== peg$FAILED) {
1440
+ s3 = peg$parseNL();
1441
+ if (s3 === peg$FAILED) {
1442
+ s3 = null;
1443
+ }
1444
+ peg$savedPos = s0;
1445
+ s0 = peg$f18(s1, s2);
1446
+ }
1447
+ else {
1448
+ peg$currPos = s0;
1449
+ s0 = peg$FAILED;
1450
+ }
1451
+ }
1452
+ else {
1453
+ peg$currPos = s0;
1454
+ s0 = peg$FAILED;
1455
+ }
1456
+ }
1391
1457
  }
1392
1458
  }
1393
1459
  return s0;
@@ -1408,7 +1474,7 @@ function peg$parse(input, options) {
1408
1474
  }
1409
1475
  if (s1 !== peg$FAILED) {
1410
1476
  peg$savedPos = s0;
1411
- s1 = peg$f18();
1477
+ s1 = peg$f19();
1412
1478
  }
1413
1479
  s0 = s1;
1414
1480
  return s0;
@@ -1429,7 +1495,28 @@ function peg$parse(input, options) {
1429
1495
  }
1430
1496
  if (s1 !== peg$FAILED) {
1431
1497
  peg$savedPos = s0;
1432
- s1 = peg$f19();
1498
+ s1 = peg$f20();
1499
+ }
1500
+ s0 = s1;
1501
+ return s0;
1502
+ }
1503
+ function peg$parseLetteredListContainer() {
1504
+ var s0, s1, s2;
1505
+ s0 = peg$currPos;
1506
+ s1 = peg$currPos;
1507
+ peg$silentFails++;
1508
+ s2 = peg$parseLetteredListTag();
1509
+ peg$silentFails--;
1510
+ if (s2 !== peg$FAILED) {
1511
+ peg$currPos = s1;
1512
+ s1 = undefined;
1513
+ }
1514
+ else {
1515
+ s1 = peg$FAILED;
1516
+ }
1517
+ if (s1 !== peg$FAILED) {
1518
+ peg$savedPos = s0;
1519
+ s1 = peg$f21();
1433
1520
  }
1434
1521
  s0 = s1;
1435
1522
  return s0;
@@ -1450,7 +1537,7 @@ function peg$parse(input, options) {
1450
1537
  }
1451
1538
  if (s1 !== peg$FAILED) {
1452
1539
  peg$savedPos = s0;
1453
- s1 = peg$f20();
1540
+ s1 = peg$f22();
1454
1541
  }
1455
1542
  s0 = s1;
1456
1543
  return s0;
@@ -1485,7 +1572,7 @@ function peg$parse(input, options) {
1485
1572
  else {
1486
1573
  s8 = peg$FAILED;
1487
1574
  if (peg$silentFails === 0) {
1488
- peg$fail(peg$e15);
1575
+ peg$fail(peg$e16);
1489
1576
  }
1490
1577
  }
1491
1578
  if (s8 !== peg$FAILED) {
@@ -1523,7 +1610,7 @@ function peg$parse(input, options) {
1523
1610
  else {
1524
1611
  s8 = peg$FAILED;
1525
1612
  if (peg$silentFails === 0) {
1526
- peg$fail(peg$e15);
1613
+ peg$fail(peg$e16);
1527
1614
  }
1528
1615
  }
1529
1616
  if (s8 !== peg$FAILED) {
@@ -1565,7 +1652,7 @@ function peg$parse(input, options) {
1565
1652
  s8 = peg$parseDEDENT();
1566
1653
  if (s8 !== peg$FAILED) {
1567
1654
  peg$savedPos = s5;
1568
- s5 = peg$f21(s2, s3, s4, s7);
1655
+ s5 = peg$f23(s2, s3, s4, s7);
1569
1656
  }
1570
1657
  else {
1571
1658
  peg$currPos = s5;
@@ -1580,7 +1667,7 @@ function peg$parse(input, options) {
1580
1667
  s5 = null;
1581
1668
  }
1582
1669
  peg$savedPos = s0;
1583
- s0 = peg$f22(s2, s3, s4, s5);
1670
+ s0 = peg$f24(s2, s3, s4, s5);
1584
1671
  }
1585
1672
  else {
1586
1673
  peg$currPos = s0;
@@ -1645,7 +1732,7 @@ function peg$parse(input, options) {
1645
1732
  else {
1646
1733
  s9 = peg$FAILED;
1647
1734
  if (peg$silentFails === 0) {
1648
- peg$fail(peg$e15);
1735
+ peg$fail(peg$e16);
1649
1736
  }
1650
1737
  }
1651
1738
  if (s9 !== peg$FAILED) {
@@ -1684,7 +1771,7 @@ function peg$parse(input, options) {
1684
1771
  else {
1685
1772
  s9 = peg$FAILED;
1686
1773
  if (peg$silentFails === 0) {
1687
- peg$fail(peg$e15);
1774
+ peg$fail(peg$e16);
1688
1775
  }
1689
1776
  }
1690
1777
  if (s9 !== peg$FAILED) {
@@ -1728,7 +1815,7 @@ function peg$parse(input, options) {
1728
1815
  }
1729
1816
  if (s4 !== peg$FAILED) {
1730
1817
  peg$savedPos = s0;
1731
- s0 = peg$f23(s4);
1818
+ s0 = peg$f25(s4);
1732
1819
  }
1733
1820
  else {
1734
1821
  peg$currPos = s0;
@@ -1794,30 +1881,30 @@ function peg$parse(input, options) {
1794
1881
  s0 = peg$currPos;
1795
1882
  s1 = [];
1796
1883
  if (input.charCodeAt(peg$currPos) === 9) {
1797
- s2 = peg$c13;
1884
+ s2 = peg$c14;
1798
1885
  peg$currPos++;
1799
1886
  }
1800
1887
  else {
1801
1888
  s2 = peg$FAILED;
1802
1889
  if (peg$silentFails === 0) {
1803
- peg$fail(peg$e16);
1890
+ peg$fail(peg$e17);
1804
1891
  }
1805
1892
  }
1806
1893
  while (s2 !== peg$FAILED) {
1807
1894
  s1.push(s2);
1808
1895
  if (input.charCodeAt(peg$currPos) === 9) {
1809
- s2 = peg$c13;
1896
+ s2 = peg$c14;
1810
1897
  peg$currPos++;
1811
1898
  }
1812
1899
  else {
1813
1900
  s2 = peg$FAILED;
1814
1901
  if (peg$silentFails === 0) {
1815
- peg$fail(peg$e16);
1902
+ peg$fail(peg$e17);
1816
1903
  }
1817
1904
  }
1818
1905
  }
1819
1906
  peg$savedPos = peg$currPos;
1820
- s2 = peg$f24(s1);
1907
+ s2 = peg$f26(s1);
1821
1908
  if (s2) {
1822
1909
  s2 = undefined;
1823
1910
  }
@@ -1841,26 +1928,26 @@ function peg$parse(input, options) {
1841
1928
  s1 = peg$currPos;
1842
1929
  s2 = [];
1843
1930
  if (input.charCodeAt(peg$currPos) === 9) {
1844
- s3 = peg$c13;
1931
+ s3 = peg$c14;
1845
1932
  peg$currPos++;
1846
1933
  }
1847
1934
  else {
1848
1935
  s3 = peg$FAILED;
1849
1936
  if (peg$silentFails === 0) {
1850
- peg$fail(peg$e16);
1937
+ peg$fail(peg$e17);
1851
1938
  }
1852
1939
  }
1853
1940
  if (s3 !== peg$FAILED) {
1854
1941
  while (s3 !== peg$FAILED) {
1855
1942
  s2.push(s3);
1856
1943
  if (input.charCodeAt(peg$currPos) === 9) {
1857
- s3 = peg$c13;
1944
+ s3 = peg$c14;
1858
1945
  peg$currPos++;
1859
1946
  }
1860
1947
  else {
1861
1948
  s3 = peg$FAILED;
1862
1949
  if (peg$silentFails === 0) {
1863
- peg$fail(peg$e16);
1950
+ peg$fail(peg$e17);
1864
1951
  }
1865
1952
  }
1866
1953
  }
@@ -1870,7 +1957,7 @@ function peg$parse(input, options) {
1870
1957
  }
1871
1958
  if (s2 !== peg$FAILED) {
1872
1959
  peg$savedPos = peg$currPos;
1873
- s3 = peg$f25(s2);
1960
+ s3 = peg$f27(s2);
1874
1961
  if (s3) {
1875
1962
  s3 = undefined;
1876
1963
  }
@@ -1879,7 +1966,7 @@ function peg$parse(input, options) {
1879
1966
  }
1880
1967
  if (s3 !== peg$FAILED) {
1881
1968
  peg$savedPos = s1;
1882
- s1 = peg$f26(s2);
1969
+ s1 = peg$f28(s2);
1883
1970
  }
1884
1971
  else {
1885
1972
  peg$currPos = s1;
@@ -1903,7 +1990,7 @@ function peg$parse(input, options) {
1903
1990
  function peg$parseDEDENT() {
1904
1991
  var s0;
1905
1992
  peg$savedPos = peg$currPos;
1906
- s0 = peg$f27();
1993
+ s0 = peg$f29();
1907
1994
  if (s0) {
1908
1995
  s0 = undefined;
1909
1996
  }
@@ -1930,7 +2017,7 @@ function peg$parse(input, options) {
1930
2017
  s2 = peg$parseParagraphBody();
1931
2018
  if (s2 !== peg$FAILED) {
1932
2019
  peg$savedPos = s0;
1933
- s0 = peg$f28(s2);
2020
+ s0 = peg$f30(s2);
1934
2021
  }
1935
2022
  else {
1936
2023
  peg$currPos = s0;
@@ -1948,7 +2035,7 @@ function peg$parse(input, options) {
1948
2035
  s2 = peg$parseParagraphBody();
1949
2036
  if (s2 !== peg$FAILED) {
1950
2037
  peg$savedPos = s0;
1951
- s0 = peg$f29(s2);
2038
+ s0 = peg$f31(s2);
1952
2039
  }
1953
2040
  else {
1954
2041
  peg$currPos = s0;
@@ -1965,7 +2052,7 @@ function peg$parse(input, options) {
1965
2052
  if (s1 !== peg$FAILED) {
1966
2053
  s2 = '';
1967
2054
  peg$savedPos = s0;
1968
- s0 = peg$f30(s2);
2055
+ s0 = peg$f32(s2);
1969
2056
  }
1970
2057
  else {
1971
2058
  peg$currPos = s0;
@@ -2131,14 +2218,14 @@ function peg$parse(input, options) {
2131
2218
  }
2132
2219
  function peg$parseImageType() {
2133
2220
  var s0;
2134
- if (input.substr(peg$currPos, 5) === peg$c14) {
2135
- s0 = peg$c14;
2221
+ if (input.substr(peg$currPos, 5) === peg$c15) {
2222
+ s0 = peg$c15;
2136
2223
  peg$currPos += 5;
2137
2224
  }
2138
2225
  else {
2139
2226
  s0 = peg$FAILED;
2140
2227
  if (peg$silentFails === 0) {
2141
- peg$fail(peg$e17);
2228
+ peg$fail(peg$e18);
2142
2229
  }
2143
2230
  }
2144
2231
  return s0;
@@ -2151,7 +2238,7 @@ function peg$parse(input, options) {
2151
2238
  s2 = peg$parseImageType();
2152
2239
  if (s2 !== peg$FAILED) {
2153
2240
  peg$savedPos = s0;
2154
- s0 = peg$f31(s2);
2241
+ s0 = peg$f33(s2);
2155
2242
  }
2156
2243
  else {
2157
2244
  peg$currPos = s0;
@@ -2181,13 +2268,13 @@ function peg$parse(input, options) {
2181
2268
  }
2182
2269
  if (s2 !== peg$FAILED) {
2183
2270
  if (input.charCodeAt(peg$currPos) === 32) {
2184
- s3 = peg$c15;
2271
+ s3 = peg$c16;
2185
2272
  peg$currPos++;
2186
2273
  }
2187
2274
  else {
2188
2275
  s3 = peg$FAILED;
2189
2276
  if (peg$silentFails === 0) {
2190
- peg$fail(peg$e18);
2277
+ peg$fail(peg$e19);
2191
2278
  }
2192
2279
  }
2193
2280
  if (s3 === peg$FAILED) {
@@ -2245,7 +2332,7 @@ function peg$parse(input, options) {
2245
2332
  s8 = null;
2246
2333
  }
2247
2334
  peg$savedPos = s0;
2248
- s0 = peg$f32(s1, s4, s6);
2335
+ s0 = peg$f34(s1, s4, s6);
2249
2336
  }
2250
2337
  else {
2251
2338
  peg$currPos = s0;
@@ -2283,7 +2370,7 @@ function peg$parse(input, options) {
2283
2370
  s2 = peg$parseMediaChainItem();
2284
2371
  }
2285
2372
  peg$savedPos = s0;
2286
- s1 = peg$f33(s1);
2373
+ s1 = peg$f35(s1);
2287
2374
  s0 = s1;
2288
2375
  return s0;
2289
2376
  }
@@ -2291,13 +2378,13 @@ function peg$parse(input, options) {
2291
2378
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
2292
2379
  s0 = peg$currPos;
2293
2380
  if (input.charCodeAt(peg$currPos) === 35) {
2294
- s1 = peg$c16;
2381
+ s1 = peg$c17;
2295
2382
  peg$currPos++;
2296
2383
  }
2297
2384
  else {
2298
2385
  s1 = peg$FAILED;
2299
2386
  if (peg$silentFails === 0) {
2300
- peg$fail(peg$e19);
2387
+ peg$fail(peg$e20);
2301
2388
  }
2302
2389
  }
2303
2390
  if (s1 !== peg$FAILED) {
@@ -2364,7 +2451,7 @@ function peg$parse(input, options) {
2364
2451
  s3 = peg$parseBlockTag();
2365
2452
  if (s3 !== peg$FAILED) {
2366
2453
  peg$savedPos = s0;
2367
- s0 = peg$f34(s2);
2454
+ s0 = peg$f36(s2);
2368
2455
  }
2369
2456
  else {
2370
2457
  peg$currPos = s0;
@@ -2378,13 +2465,13 @@ function peg$parse(input, options) {
2378
2465
  if (s0 === peg$FAILED) {
2379
2466
  s0 = peg$currPos;
2380
2467
  if (input.charCodeAt(peg$currPos) === 64) {
2381
- s1 = peg$c17;
2468
+ s1 = peg$c18;
2382
2469
  peg$currPos++;
2383
2470
  }
2384
2471
  else {
2385
2472
  s1 = peg$FAILED;
2386
2473
  if (peg$silentFails === 0) {
2387
- peg$fail(peg$e20);
2474
+ peg$fail(peg$e21);
2388
2475
  }
2389
2476
  }
2390
2477
  if (s1 === peg$FAILED) {
@@ -2405,25 +2492,25 @@ function peg$parse(input, options) {
2405
2492
  if (s3 !== peg$FAILED) {
2406
2493
  s4 = [];
2407
2494
  if (input.charCodeAt(peg$currPos) === 32) {
2408
- s5 = peg$c15;
2495
+ s5 = peg$c16;
2409
2496
  peg$currPos++;
2410
2497
  }
2411
2498
  else {
2412
2499
  s5 = peg$FAILED;
2413
2500
  if (peg$silentFails === 0) {
2414
- peg$fail(peg$e18);
2501
+ peg$fail(peg$e19);
2415
2502
  }
2416
2503
  }
2417
2504
  while (s5 !== peg$FAILED) {
2418
2505
  s4.push(s5);
2419
2506
  if (input.charCodeAt(peg$currPos) === 32) {
2420
- s5 = peg$c15;
2507
+ s5 = peg$c16;
2421
2508
  peg$currPos++;
2422
2509
  }
2423
2510
  else {
2424
2511
  s5 = peg$FAILED;
2425
2512
  if (peg$silentFails === 0) {
2426
- peg$fail(peg$e18);
2513
+ peg$fail(peg$e19);
2427
2514
  }
2428
2515
  }
2429
2516
  }
@@ -2449,7 +2536,7 @@ function peg$parse(input, options) {
2449
2536
  else {
2450
2537
  s9 = peg$FAILED;
2451
2538
  if (peg$silentFails === 0) {
2452
- peg$fail(peg$e21);
2539
+ peg$fail(peg$e22);
2453
2540
  }
2454
2541
  }
2455
2542
  if (s9 !== peg$FAILED) {
@@ -2488,7 +2575,7 @@ function peg$parse(input, options) {
2488
2575
  else {
2489
2576
  s9 = peg$FAILED;
2490
2577
  if (peg$silentFails === 0) {
2491
- peg$fail(peg$e21);
2578
+ peg$fail(peg$e22);
2492
2579
  }
2493
2580
  }
2494
2581
  if (s9 !== peg$FAILED) {
@@ -2519,7 +2606,7 @@ function peg$parse(input, options) {
2519
2606
  s6 = peg$parseBlockTag();
2520
2607
  if (s6 !== peg$FAILED) {
2521
2608
  peg$savedPos = s0;
2522
- s0 = peg$f35(s2, s5);
2609
+ s0 = peg$f37(s2, s5);
2523
2610
  }
2524
2611
  else {
2525
2612
  peg$currPos = s0;
@@ -2543,13 +2630,13 @@ function peg$parse(input, options) {
2543
2630
  if (s0 === peg$FAILED) {
2544
2631
  s0 = peg$currPos;
2545
2632
  if (input.charCodeAt(peg$currPos) === 64) {
2546
- s1 = peg$c17;
2633
+ s1 = peg$c18;
2547
2634
  peg$currPos++;
2548
2635
  }
2549
2636
  else {
2550
2637
  s1 = peg$FAILED;
2551
2638
  if (peg$silentFails === 0) {
2552
- peg$fail(peg$e20);
2639
+ peg$fail(peg$e21);
2553
2640
  }
2554
2641
  }
2555
2642
  if (s1 === peg$FAILED) {
@@ -2570,25 +2657,25 @@ function peg$parse(input, options) {
2570
2657
  if (s3 !== peg$FAILED) {
2571
2658
  s4 = [];
2572
2659
  if (input.charCodeAt(peg$currPos) === 32) {
2573
- s5 = peg$c15;
2660
+ s5 = peg$c16;
2574
2661
  peg$currPos++;
2575
2662
  }
2576
2663
  else {
2577
2664
  s5 = peg$FAILED;
2578
2665
  if (peg$silentFails === 0) {
2579
- peg$fail(peg$e18);
2666
+ peg$fail(peg$e19);
2580
2667
  }
2581
2668
  }
2582
2669
  while (s5 !== peg$FAILED) {
2583
2670
  s4.push(s5);
2584
2671
  if (input.charCodeAt(peg$currPos) === 32) {
2585
- s5 = peg$c15;
2672
+ s5 = peg$c16;
2586
2673
  peg$currPos++;
2587
2674
  }
2588
2675
  else {
2589
2676
  s5 = peg$FAILED;
2590
2677
  if (peg$silentFails === 0) {
2591
- peg$fail(peg$e18);
2678
+ peg$fail(peg$e19);
2592
2679
  }
2593
2680
  }
2594
2681
  }
@@ -2655,7 +2742,7 @@ function peg$parse(input, options) {
2655
2742
  s6 = peg$parseBlockTag();
2656
2743
  if (s6 !== peg$FAILED) {
2657
2744
  peg$savedPos = s0;
2658
- s0 = peg$f36(s2, s5);
2745
+ s0 = peg$f38(s2, s5);
2659
2746
  }
2660
2747
  else {
2661
2748
  peg$currPos = s0;
@@ -2674,13 +2761,13 @@ function peg$parse(input, options) {
2674
2761
  if (s0 === peg$FAILED) {
2675
2762
  s0 = peg$currPos;
2676
2763
  if (input.charCodeAt(peg$currPos) === 64) {
2677
- s1 = peg$c17;
2764
+ s1 = peg$c18;
2678
2765
  peg$currPos++;
2679
2766
  }
2680
2767
  else {
2681
2768
  s1 = peg$FAILED;
2682
2769
  if (peg$silentFails === 0) {
2683
- peg$fail(peg$e20);
2770
+ peg$fail(peg$e21);
2684
2771
  }
2685
2772
  }
2686
2773
  if (s1 === peg$FAILED) {
@@ -2782,13 +2869,13 @@ function peg$parse(input, options) {
2782
2869
  }
2783
2870
  if (s3 !== peg$FAILED) {
2784
2871
  if (input.charCodeAt(peg$currPos) === 32) {
2785
- s4 = peg$c15;
2872
+ s4 = peg$c16;
2786
2873
  peg$currPos++;
2787
2874
  }
2788
2875
  else {
2789
2876
  s4 = peg$FAILED;
2790
2877
  if (peg$silentFails === 0) {
2791
- peg$fail(peg$e18);
2878
+ peg$fail(peg$e19);
2792
2879
  }
2793
2880
  }
2794
2881
  if (s4 === peg$FAILED) {
@@ -2857,7 +2944,7 @@ function peg$parse(input, options) {
2857
2944
  s6 = peg$parseBlockTag();
2858
2945
  if (s6 !== peg$FAILED) {
2859
2946
  peg$savedPos = s0;
2860
- s0 = peg$f37(s2, s5);
2947
+ s0 = peg$f39(s2, s5);
2861
2948
  }
2862
2949
  else {
2863
2950
  peg$currPos = s0;
@@ -2871,13 +2958,13 @@ function peg$parse(input, options) {
2871
2958
  if (s0 === peg$FAILED) {
2872
2959
  s0 = peg$currPos;
2873
2960
  if (input.charCodeAt(peg$currPos) === 64) {
2874
- s1 = peg$c17;
2961
+ s1 = peg$c18;
2875
2962
  peg$currPos++;
2876
2963
  }
2877
2964
  else {
2878
2965
  s1 = peg$FAILED;
2879
2966
  if (peg$silentFails === 0) {
2880
- peg$fail(peg$e20);
2967
+ peg$fail(peg$e21);
2881
2968
  }
2882
2969
  }
2883
2970
  if (s1 === peg$FAILED) {
@@ -2946,7 +3033,7 @@ function peg$parse(input, options) {
2946
3033
  s3 = peg$parseBlockTag();
2947
3034
  if (s3 !== peg$FAILED) {
2948
3035
  peg$savedPos = s0;
2949
- s0 = peg$f38(s2);
3036
+ s0 = peg$f40(s2);
2950
3037
  }
2951
3038
  else {
2952
3039
  peg$currPos = s0;
@@ -2960,25 +3047,25 @@ function peg$parse(input, options) {
2960
3047
  }
2961
3048
  function peg$parseMediaSizeTags() {
2962
3049
  var s0;
2963
- if (input.substr(peg$currPos, 5) === peg$c18) {
2964
- s0 = peg$c18;
3050
+ if (input.substr(peg$currPos, 5) === peg$c19) {
3051
+ s0 = peg$c19;
2965
3052
  peg$currPos += 5;
2966
3053
  }
2967
3054
  else {
2968
3055
  s0 = peg$FAILED;
2969
3056
  if (peg$silentFails === 0) {
2970
- peg$fail(peg$e22);
3057
+ peg$fail(peg$e23);
2971
3058
  }
2972
3059
  }
2973
3060
  if (s0 === peg$FAILED) {
2974
- if (input.substr(peg$currPos, 6) === peg$c19) {
2975
- s0 = peg$c19;
3061
+ if (input.substr(peg$currPos, 6) === peg$c20) {
3062
+ s0 = peg$c20;
2976
3063
  peg$currPos += 6;
2977
3064
  }
2978
3065
  else {
2979
3066
  s0 = peg$FAILED;
2980
3067
  if (peg$silentFails === 0) {
2981
- peg$fail(peg$e23);
3068
+ peg$fail(peg$e24);
2982
3069
  }
2983
3070
  }
2984
3071
  }
@@ -2990,7 +3077,7 @@ function peg$parse(input, options) {
2990
3077
  s0 = peg$currPos;
2991
3078
  s1 = peg$parseInlineTags();
2992
3079
  peg$savedPos = s0;
2993
- s1 = peg$f39(s1);
3080
+ s1 = peg$f41(s1);
2994
3081
  s0 = s1;
2995
3082
  peg$silentFails--;
2996
3083
  s1 = peg$FAILED;
@@ -3006,7 +3093,7 @@ function peg$parse(input, options) {
3006
3093
  peg$silentFails--;
3007
3094
  s1 = peg$FAILED;
3008
3095
  if (peg$silentFails === 0) {
3009
- peg$fail(peg$e24);
3096
+ peg$fail(peg$e25);
3010
3097
  }
3011
3098
  return s0;
3012
3099
  }
@@ -3030,7 +3117,7 @@ function peg$parse(input, options) {
3030
3117
  }
3031
3118
  }
3032
3119
  peg$savedPos = s0;
3033
- s0 = peg$f40(s1, s2);
3120
+ s0 = peg$f42(s1, s2);
3034
3121
  return s0;
3035
3122
  }
3036
3123
  function peg$parseInlinePlainText() {
@@ -3039,7 +3126,7 @@ function peg$parse(input, options) {
3039
3126
  s1 = peg$parseNL();
3040
3127
  if (s1 !== peg$FAILED) {
3041
3128
  peg$savedPos = s0;
3042
- s1 = peg$f41();
3129
+ s1 = peg$f43();
3043
3130
  }
3044
3131
  s0 = s1;
3045
3132
  if (s0 === peg$FAILED) {
@@ -3182,7 +3269,7 @@ function peg$parse(input, options) {
3182
3269
  }
3183
3270
  if (s1 !== peg$FAILED) {
3184
3271
  peg$savedPos = s0;
3185
- s1 = peg$f42(s1);
3272
+ s1 = peg$f44(s1);
3186
3273
  }
3187
3274
  s0 = s1;
3188
3275
  }
@@ -3191,27 +3278,27 @@ function peg$parse(input, options) {
3191
3278
  function peg$parseInlineHalfTag() {
3192
3279
  var s0;
3193
3280
  if (input.charCodeAt(peg$currPos) === 61) {
3194
- s0 = peg$c20;
3281
+ s0 = peg$c21;
3195
3282
  peg$currPos++;
3196
3283
  }
3197
3284
  else {
3198
3285
  s0 = peg$FAILED;
3199
3286
  if (peg$silentFails === 0) {
3200
- peg$fail(peg$e25);
3287
+ peg$fail(peg$e26);
3201
3288
  }
3202
3289
  }
3203
3290
  return s0;
3204
3291
  }
3205
3292
  function peg$parseInlineLaTexHalfTag() {
3206
3293
  var s0;
3207
- if (input.substr(peg$currPos, 2) === peg$c21) {
3208
- s0 = peg$c21;
3294
+ if (input.substr(peg$currPos, 2) === peg$c22) {
3295
+ s0 = peg$c22;
3209
3296
  peg$currPos += 2;
3210
3297
  }
3211
3298
  else {
3212
3299
  s0 = peg$FAILED;
3213
3300
  if (peg$silentFails === 0) {
3214
- peg$fail(peg$e26);
3301
+ peg$fail(peg$e27);
3215
3302
  }
3216
3303
  }
3217
3304
  return s0;
@@ -3272,7 +3359,7 @@ function peg$parse(input, options) {
3272
3359
  else {
3273
3360
  s4 = peg$FAILED;
3274
3361
  if (peg$silentFails === 0) {
3275
- peg$fail(peg$e21);
3362
+ peg$fail(peg$e22);
3276
3363
  }
3277
3364
  }
3278
3365
  if (s4 !== peg$FAILED) {
@@ -3285,7 +3372,7 @@ function peg$parse(input, options) {
3285
3372
  else {
3286
3373
  s4 = peg$FAILED;
3287
3374
  if (peg$silentFails === 0) {
3288
- peg$fail(peg$e21);
3375
+ peg$fail(peg$e22);
3289
3376
  }
3290
3377
  }
3291
3378
  }
@@ -3303,7 +3390,7 @@ function peg$parse(input, options) {
3303
3390
  s3 = peg$parseBodyBitCloseTag();
3304
3391
  if (s3 !== peg$FAILED) {
3305
3392
  peg$savedPos = s0;
3306
- s0 = peg$f43(s2);
3393
+ s0 = peg$f45(s2);
3307
3394
  }
3308
3395
  else {
3309
3396
  peg$currPos = s0;
@@ -3324,13 +3411,13 @@ function peg$parse(input, options) {
3324
3411
  s1 = peg$parseInlineTag();
3325
3412
  if (s1 !== peg$FAILED) {
3326
3413
  if (input.charCodeAt(peg$currPos) === 32) {
3327
- s2 = peg$c15;
3414
+ s2 = peg$c16;
3328
3415
  peg$currPos++;
3329
3416
  }
3330
3417
  else {
3331
3418
  s2 = peg$FAILED;
3332
3419
  if (peg$silentFails === 0) {
3333
- peg$fail(peg$e18);
3420
+ peg$fail(peg$e19);
3334
3421
  }
3335
3422
  }
3336
3423
  if (s2 === peg$FAILED) {
@@ -3343,13 +3430,13 @@ function peg$parse(input, options) {
3343
3430
  peg$silentFails++;
3344
3431
  s7 = peg$currPos;
3345
3432
  if (input.charCodeAt(peg$currPos) === 32) {
3346
- s8 = peg$c15;
3433
+ s8 = peg$c16;
3347
3434
  peg$currPos++;
3348
3435
  }
3349
3436
  else {
3350
3437
  s8 = peg$FAILED;
3351
3438
  if (peg$silentFails === 0) {
3352
- peg$fail(peg$e18);
3439
+ peg$fail(peg$e19);
3353
3440
  }
3354
3441
  }
3355
3442
  if (s8 === peg$FAILED) {
@@ -3380,7 +3467,7 @@ function peg$parse(input, options) {
3380
3467
  else {
3381
3468
  s7 = peg$FAILED;
3382
3469
  if (peg$silentFails === 0) {
3383
- peg$fail(peg$e15);
3470
+ peg$fail(peg$e16);
3384
3471
  }
3385
3472
  }
3386
3473
  if (s7 !== peg$FAILED) {
@@ -3403,13 +3490,13 @@ function peg$parse(input, options) {
3403
3490
  peg$silentFails++;
3404
3491
  s7 = peg$currPos;
3405
3492
  if (input.charCodeAt(peg$currPos) === 32) {
3406
- s8 = peg$c15;
3493
+ s8 = peg$c16;
3407
3494
  peg$currPos++;
3408
3495
  }
3409
3496
  else {
3410
3497
  s8 = peg$FAILED;
3411
3498
  if (peg$silentFails === 0) {
3412
- peg$fail(peg$e18);
3499
+ peg$fail(peg$e19);
3413
3500
  }
3414
3501
  }
3415
3502
  if (s8 === peg$FAILED) {
@@ -3440,7 +3527,7 @@ function peg$parse(input, options) {
3440
3527
  else {
3441
3528
  s7 = peg$FAILED;
3442
3529
  if (peg$silentFails === 0) {
3443
- peg$fail(peg$e15);
3530
+ peg$fail(peg$e16);
3444
3531
  }
3445
3532
  }
3446
3533
  if (s7 !== peg$FAILED) {
@@ -3459,13 +3546,13 @@ function peg$parse(input, options) {
3459
3546
  }
3460
3547
  s3 = input.substring(s3, peg$currPos);
3461
3548
  if (input.charCodeAt(peg$currPos) === 32) {
3462
- s4 = peg$c15;
3549
+ s4 = peg$c16;
3463
3550
  peg$currPos++;
3464
3551
  }
3465
3552
  else {
3466
3553
  s4 = peg$FAILED;
3467
3554
  if (peg$silentFails === 0) {
3468
- peg$fail(peg$e18);
3555
+ peg$fail(peg$e19);
3469
3556
  }
3470
3557
  }
3471
3558
  if (s4 === peg$FAILED) {
@@ -3476,7 +3563,7 @@ function peg$parse(input, options) {
3476
3563
  s6 = peg$parseAttrChain();
3477
3564
  if (s6 !== peg$FAILED) {
3478
3565
  peg$savedPos = s0;
3479
- s0 = peg$f44(s3, s6);
3566
+ s0 = peg$f46(s3, s6);
3480
3567
  }
3481
3568
  else {
3482
3569
  peg$currPos = s0;
@@ -3497,13 +3584,13 @@ function peg$parse(input, options) {
3497
3584
  s1 = peg$parseBoldTag();
3498
3585
  if (s1 !== peg$FAILED) {
3499
3586
  if (input.charCodeAt(peg$currPos) === 32) {
3500
- s2 = peg$c15;
3587
+ s2 = peg$c16;
3501
3588
  peg$currPos++;
3502
3589
  }
3503
3590
  else {
3504
3591
  s2 = peg$FAILED;
3505
3592
  if (peg$silentFails === 0) {
3506
- peg$fail(peg$e18);
3593
+ peg$fail(peg$e19);
3507
3594
  }
3508
3595
  }
3509
3596
  if (s2 === peg$FAILED) {
@@ -3516,13 +3603,13 @@ function peg$parse(input, options) {
3516
3603
  peg$silentFails++;
3517
3604
  s7 = peg$currPos;
3518
3605
  if (input.charCodeAt(peg$currPos) === 32) {
3519
- s8 = peg$c15;
3606
+ s8 = peg$c16;
3520
3607
  peg$currPos++;
3521
3608
  }
3522
3609
  else {
3523
3610
  s8 = peg$FAILED;
3524
3611
  if (peg$silentFails === 0) {
3525
- peg$fail(peg$e18);
3612
+ peg$fail(peg$e19);
3526
3613
  }
3527
3614
  }
3528
3615
  if (s8 === peg$FAILED) {
@@ -3553,7 +3640,7 @@ function peg$parse(input, options) {
3553
3640
  else {
3554
3641
  s7 = peg$FAILED;
3555
3642
  if (peg$silentFails === 0) {
3556
- peg$fail(peg$e15);
3643
+ peg$fail(peg$e16);
3557
3644
  }
3558
3645
  }
3559
3646
  if (s7 !== peg$FAILED) {
@@ -3576,13 +3663,13 @@ function peg$parse(input, options) {
3576
3663
  peg$silentFails++;
3577
3664
  s7 = peg$currPos;
3578
3665
  if (input.charCodeAt(peg$currPos) === 32) {
3579
- s8 = peg$c15;
3666
+ s8 = peg$c16;
3580
3667
  peg$currPos++;
3581
3668
  }
3582
3669
  else {
3583
3670
  s8 = peg$FAILED;
3584
3671
  if (peg$silentFails === 0) {
3585
- peg$fail(peg$e18);
3672
+ peg$fail(peg$e19);
3586
3673
  }
3587
3674
  }
3588
3675
  if (s8 === peg$FAILED) {
@@ -3613,7 +3700,7 @@ function peg$parse(input, options) {
3613
3700
  else {
3614
3701
  s7 = peg$FAILED;
3615
3702
  if (peg$silentFails === 0) {
3616
- peg$fail(peg$e15);
3703
+ peg$fail(peg$e16);
3617
3704
  }
3618
3705
  }
3619
3706
  if (s7 !== peg$FAILED) {
@@ -3632,13 +3719,13 @@ function peg$parse(input, options) {
3632
3719
  }
3633
3720
  s3 = input.substring(s3, peg$currPos);
3634
3721
  if (input.charCodeAt(peg$currPos) === 32) {
3635
- s4 = peg$c15;
3722
+ s4 = peg$c16;
3636
3723
  peg$currPos++;
3637
3724
  }
3638
3725
  else {
3639
3726
  s4 = peg$FAILED;
3640
3727
  if (peg$silentFails === 0) {
3641
- peg$fail(peg$e18);
3728
+ peg$fail(peg$e19);
3642
3729
  }
3643
3730
  }
3644
3731
  if (s4 === peg$FAILED) {
@@ -3647,7 +3734,7 @@ function peg$parse(input, options) {
3647
3734
  s5 = peg$parseBoldTag();
3648
3735
  if (s5 !== peg$FAILED) {
3649
3736
  peg$savedPos = s0;
3650
- s0 = peg$f45(s3);
3737
+ s0 = peg$f47(s3);
3651
3738
  }
3652
3739
  else {
3653
3740
  peg$currPos = s0;
@@ -3663,13 +3750,13 @@ function peg$parse(input, options) {
3663
3750
  s1 = peg$parseItalicTag();
3664
3751
  if (s1 !== peg$FAILED) {
3665
3752
  if (input.charCodeAt(peg$currPos) === 32) {
3666
- s2 = peg$c15;
3753
+ s2 = peg$c16;
3667
3754
  peg$currPos++;
3668
3755
  }
3669
3756
  else {
3670
3757
  s2 = peg$FAILED;
3671
3758
  if (peg$silentFails === 0) {
3672
- peg$fail(peg$e18);
3759
+ peg$fail(peg$e19);
3673
3760
  }
3674
3761
  }
3675
3762
  if (s2 === peg$FAILED) {
@@ -3682,13 +3769,13 @@ function peg$parse(input, options) {
3682
3769
  peg$silentFails++;
3683
3770
  s7 = peg$currPos;
3684
3771
  if (input.charCodeAt(peg$currPos) === 32) {
3685
- s8 = peg$c15;
3772
+ s8 = peg$c16;
3686
3773
  peg$currPos++;
3687
3774
  }
3688
3775
  else {
3689
3776
  s8 = peg$FAILED;
3690
3777
  if (peg$silentFails === 0) {
3691
- peg$fail(peg$e18);
3778
+ peg$fail(peg$e19);
3692
3779
  }
3693
3780
  }
3694
3781
  if (s8 === peg$FAILED) {
@@ -3719,7 +3806,7 @@ function peg$parse(input, options) {
3719
3806
  else {
3720
3807
  s7 = peg$FAILED;
3721
3808
  if (peg$silentFails === 0) {
3722
- peg$fail(peg$e15);
3809
+ peg$fail(peg$e16);
3723
3810
  }
3724
3811
  }
3725
3812
  if (s7 !== peg$FAILED) {
@@ -3742,13 +3829,13 @@ function peg$parse(input, options) {
3742
3829
  peg$silentFails++;
3743
3830
  s7 = peg$currPos;
3744
3831
  if (input.charCodeAt(peg$currPos) === 32) {
3745
- s8 = peg$c15;
3832
+ s8 = peg$c16;
3746
3833
  peg$currPos++;
3747
3834
  }
3748
3835
  else {
3749
3836
  s8 = peg$FAILED;
3750
3837
  if (peg$silentFails === 0) {
3751
- peg$fail(peg$e18);
3838
+ peg$fail(peg$e19);
3752
3839
  }
3753
3840
  }
3754
3841
  if (s8 === peg$FAILED) {
@@ -3779,7 +3866,7 @@ function peg$parse(input, options) {
3779
3866
  else {
3780
3867
  s7 = peg$FAILED;
3781
3868
  if (peg$silentFails === 0) {
3782
- peg$fail(peg$e15);
3869
+ peg$fail(peg$e16);
3783
3870
  }
3784
3871
  }
3785
3872
  if (s7 !== peg$FAILED) {
@@ -3798,13 +3885,13 @@ function peg$parse(input, options) {
3798
3885
  }
3799
3886
  s3 = input.substring(s3, peg$currPos);
3800
3887
  if (input.charCodeAt(peg$currPos) === 32) {
3801
- s4 = peg$c15;
3888
+ s4 = peg$c16;
3802
3889
  peg$currPos++;
3803
3890
  }
3804
3891
  else {
3805
3892
  s4 = peg$FAILED;
3806
3893
  if (peg$silentFails === 0) {
3807
- peg$fail(peg$e18);
3894
+ peg$fail(peg$e19);
3808
3895
  }
3809
3896
  }
3810
3897
  if (s4 === peg$FAILED) {
@@ -3813,7 +3900,7 @@ function peg$parse(input, options) {
3813
3900
  s5 = peg$parseItalicTag();
3814
3901
  if (s5 !== peg$FAILED) {
3815
3902
  peg$savedPos = s0;
3816
- s0 = peg$f46(s3);
3903
+ s0 = peg$f48(s3);
3817
3904
  }
3818
3905
  else {
3819
3906
  peg$currPos = s0;
@@ -3829,13 +3916,13 @@ function peg$parse(input, options) {
3829
3916
  s1 = peg$parseLightTag();
3830
3917
  if (s1 !== peg$FAILED) {
3831
3918
  if (input.charCodeAt(peg$currPos) === 32) {
3832
- s2 = peg$c15;
3919
+ s2 = peg$c16;
3833
3920
  peg$currPos++;
3834
3921
  }
3835
3922
  else {
3836
3923
  s2 = peg$FAILED;
3837
3924
  if (peg$silentFails === 0) {
3838
- peg$fail(peg$e18);
3925
+ peg$fail(peg$e19);
3839
3926
  }
3840
3927
  }
3841
3928
  if (s2 === peg$FAILED) {
@@ -3848,13 +3935,13 @@ function peg$parse(input, options) {
3848
3935
  peg$silentFails++;
3849
3936
  s7 = peg$currPos;
3850
3937
  if (input.charCodeAt(peg$currPos) === 32) {
3851
- s8 = peg$c15;
3938
+ s8 = peg$c16;
3852
3939
  peg$currPos++;
3853
3940
  }
3854
3941
  else {
3855
3942
  s8 = peg$FAILED;
3856
3943
  if (peg$silentFails === 0) {
3857
- peg$fail(peg$e18);
3944
+ peg$fail(peg$e19);
3858
3945
  }
3859
3946
  }
3860
3947
  if (s8 === peg$FAILED) {
@@ -3885,7 +3972,7 @@ function peg$parse(input, options) {
3885
3972
  else {
3886
3973
  s7 = peg$FAILED;
3887
3974
  if (peg$silentFails === 0) {
3888
- peg$fail(peg$e15);
3975
+ peg$fail(peg$e16);
3889
3976
  }
3890
3977
  }
3891
3978
  if (s7 !== peg$FAILED) {
@@ -3908,13 +3995,13 @@ function peg$parse(input, options) {
3908
3995
  peg$silentFails++;
3909
3996
  s7 = peg$currPos;
3910
3997
  if (input.charCodeAt(peg$currPos) === 32) {
3911
- s8 = peg$c15;
3998
+ s8 = peg$c16;
3912
3999
  peg$currPos++;
3913
4000
  }
3914
4001
  else {
3915
4002
  s8 = peg$FAILED;
3916
4003
  if (peg$silentFails === 0) {
3917
- peg$fail(peg$e18);
4004
+ peg$fail(peg$e19);
3918
4005
  }
3919
4006
  }
3920
4007
  if (s8 === peg$FAILED) {
@@ -3945,7 +4032,7 @@ function peg$parse(input, options) {
3945
4032
  else {
3946
4033
  s7 = peg$FAILED;
3947
4034
  if (peg$silentFails === 0) {
3948
- peg$fail(peg$e15);
4035
+ peg$fail(peg$e16);
3949
4036
  }
3950
4037
  }
3951
4038
  if (s7 !== peg$FAILED) {
@@ -3964,13 +4051,13 @@ function peg$parse(input, options) {
3964
4051
  }
3965
4052
  s3 = input.substring(s3, peg$currPos);
3966
4053
  if (input.charCodeAt(peg$currPos) === 32) {
3967
- s4 = peg$c15;
4054
+ s4 = peg$c16;
3968
4055
  peg$currPos++;
3969
4056
  }
3970
4057
  else {
3971
4058
  s4 = peg$FAILED;
3972
4059
  if (peg$silentFails === 0) {
3973
- peg$fail(peg$e18);
4060
+ peg$fail(peg$e19);
3974
4061
  }
3975
4062
  }
3976
4063
  if (s4 === peg$FAILED) {
@@ -3979,7 +4066,7 @@ function peg$parse(input, options) {
3979
4066
  s5 = peg$parseLightTag();
3980
4067
  if (s5 !== peg$FAILED) {
3981
4068
  peg$savedPos = s0;
3982
- s0 = peg$f47(s3);
4069
+ s0 = peg$f49(s3);
3983
4070
  }
3984
4071
  else {
3985
4072
  peg$currPos = s0;
@@ -3995,13 +4082,13 @@ function peg$parse(input, options) {
3995
4082
  s1 = peg$parseHighlightTag();
3996
4083
  if (s1 !== peg$FAILED) {
3997
4084
  if (input.charCodeAt(peg$currPos) === 32) {
3998
- s2 = peg$c15;
4085
+ s2 = peg$c16;
3999
4086
  peg$currPos++;
4000
4087
  }
4001
4088
  else {
4002
4089
  s2 = peg$FAILED;
4003
4090
  if (peg$silentFails === 0) {
4004
- peg$fail(peg$e18);
4091
+ peg$fail(peg$e19);
4005
4092
  }
4006
4093
  }
4007
4094
  if (s2 === peg$FAILED) {
@@ -4014,13 +4101,13 @@ function peg$parse(input, options) {
4014
4101
  peg$silentFails++;
4015
4102
  s7 = peg$currPos;
4016
4103
  if (input.charCodeAt(peg$currPos) === 32) {
4017
- s8 = peg$c15;
4104
+ s8 = peg$c16;
4018
4105
  peg$currPos++;
4019
4106
  }
4020
4107
  else {
4021
4108
  s8 = peg$FAILED;
4022
4109
  if (peg$silentFails === 0) {
4023
- peg$fail(peg$e18);
4110
+ peg$fail(peg$e19);
4024
4111
  }
4025
4112
  }
4026
4113
  if (s8 === peg$FAILED) {
@@ -4051,7 +4138,7 @@ function peg$parse(input, options) {
4051
4138
  else {
4052
4139
  s7 = peg$FAILED;
4053
4140
  if (peg$silentFails === 0) {
4054
- peg$fail(peg$e15);
4141
+ peg$fail(peg$e16);
4055
4142
  }
4056
4143
  }
4057
4144
  if (s7 !== peg$FAILED) {
@@ -4074,13 +4161,13 @@ function peg$parse(input, options) {
4074
4161
  peg$silentFails++;
4075
4162
  s7 = peg$currPos;
4076
4163
  if (input.charCodeAt(peg$currPos) === 32) {
4077
- s8 = peg$c15;
4164
+ s8 = peg$c16;
4078
4165
  peg$currPos++;
4079
4166
  }
4080
4167
  else {
4081
4168
  s8 = peg$FAILED;
4082
4169
  if (peg$silentFails === 0) {
4083
- peg$fail(peg$e18);
4170
+ peg$fail(peg$e19);
4084
4171
  }
4085
4172
  }
4086
4173
  if (s8 === peg$FAILED) {
@@ -4111,7 +4198,7 @@ function peg$parse(input, options) {
4111
4198
  else {
4112
4199
  s7 = peg$FAILED;
4113
4200
  if (peg$silentFails === 0) {
4114
- peg$fail(peg$e15);
4201
+ peg$fail(peg$e16);
4115
4202
  }
4116
4203
  }
4117
4204
  if (s7 !== peg$FAILED) {
@@ -4130,13 +4217,13 @@ function peg$parse(input, options) {
4130
4217
  }
4131
4218
  s3 = input.substring(s3, peg$currPos);
4132
4219
  if (input.charCodeAt(peg$currPos) === 32) {
4133
- s4 = peg$c15;
4220
+ s4 = peg$c16;
4134
4221
  peg$currPos++;
4135
4222
  }
4136
4223
  else {
4137
4224
  s4 = peg$FAILED;
4138
4225
  if (peg$silentFails === 0) {
4139
- peg$fail(peg$e18);
4226
+ peg$fail(peg$e19);
4140
4227
  }
4141
4228
  }
4142
4229
  if (s4 === peg$FAILED) {
@@ -4145,7 +4232,7 @@ function peg$parse(input, options) {
4145
4232
  s5 = peg$parseHighlightTag();
4146
4233
  if (s5 !== peg$FAILED) {
4147
4234
  peg$savedPos = s0;
4148
- s0 = peg$f48(s3);
4235
+ s0 = peg$f50(s3);
4149
4236
  }
4150
4237
  else {
4151
4238
  peg$currPos = s0;
@@ -4161,7 +4248,7 @@ function peg$parse(input, options) {
4161
4248
  s1 = peg$parseUrl();
4162
4249
  if (s1 !== peg$FAILED) {
4163
4250
  peg$savedPos = s0;
4164
- s1 = peg$f49(s1);
4251
+ s1 = peg$f51(s1);
4165
4252
  }
4166
4253
  s0 = s1;
4167
4254
  }
@@ -4345,7 +4432,7 @@ function peg$parse(input, options) {
4345
4432
  }
4346
4433
  if (s2 !== peg$FAILED) {
4347
4434
  peg$savedPos = s0;
4348
- s0 = peg$f50(s2);
4435
+ s0 = peg$f52(s2);
4349
4436
  }
4350
4437
  else {
4351
4438
  peg$currPos = s0;
@@ -4361,14 +4448,14 @@ function peg$parse(input, options) {
4361
4448
  function peg$parseAttrChainItem() {
4362
4449
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
4363
4450
  s0 = peg$currPos;
4364
- if (input.substr(peg$currPos, 5) === peg$c22) {
4365
- s1 = peg$c22;
4451
+ if (input.substr(peg$currPos, 5) === peg$c23) {
4452
+ s1 = peg$c23;
4366
4453
  peg$currPos += 5;
4367
4454
  }
4368
4455
  else {
4369
4456
  s1 = peg$FAILED;
4370
4457
  if (peg$silentFails === 0) {
4371
- peg$fail(peg$e27);
4458
+ peg$fail(peg$e28);
4372
4459
  }
4373
4460
  }
4374
4461
  if (s1 !== peg$FAILED) {
@@ -4435,7 +4522,7 @@ function peg$parse(input, options) {
4435
4522
  s3 = peg$parseBlockTag();
4436
4523
  if (s3 !== peg$FAILED) {
4437
4524
  peg$savedPos = s0;
4438
- s0 = peg$f51(s2);
4525
+ s0 = peg$f53(s2);
4439
4526
  }
4440
4527
  else {
4441
4528
  peg$currPos = s0;
@@ -4448,14 +4535,14 @@ function peg$parse(input, options) {
4448
4535
  }
4449
4536
  if (s0 === peg$FAILED) {
4450
4537
  s0 = peg$currPos;
4451
- if (input.substr(peg$currPos, 4) === peg$c23) {
4452
- s1 = peg$c23;
4538
+ if (input.substr(peg$currPos, 4) === peg$c24) {
4539
+ s1 = peg$c24;
4453
4540
  peg$currPos += 4;
4454
4541
  }
4455
4542
  else {
4456
4543
  s1 = peg$FAILED;
4457
4544
  if (peg$silentFails === 0) {
4458
- peg$fail(peg$e28);
4545
+ peg$fail(peg$e29);
4459
4546
  }
4460
4547
  }
4461
4548
  if (s1 !== peg$FAILED) {
@@ -4522,7 +4609,7 @@ function peg$parse(input, options) {
4522
4609
  s3 = peg$parseBlockTag();
4523
4610
  if (s3 !== peg$FAILED) {
4524
4611
  peg$savedPos = s0;
4525
- s0 = peg$f52(s2);
4612
+ s0 = peg$f54(s2);
4526
4613
  }
4527
4614
  else {
4528
4615
  peg$currPos = s0;
@@ -4549,7 +4636,7 @@ function peg$parse(input, options) {
4549
4636
  s2 = peg$parseBlockTag();
4550
4637
  if (s2 !== peg$FAILED) {
4551
4638
  peg$savedPos = s0;
4552
- s0 = peg$f53();
4639
+ s0 = peg$f55();
4553
4640
  }
4554
4641
  else {
4555
4642
  peg$currPos = s0;
@@ -4562,14 +4649,14 @@ function peg$parse(input, options) {
4562
4649
  }
4563
4650
  if (s0 === peg$FAILED) {
4564
4651
  s0 = peg$currPos;
4565
- if (input.substr(peg$currPos, 5) === peg$c24) {
4566
- s1 = peg$c24;
4652
+ if (input.substr(peg$currPos, 5) === peg$c25) {
4653
+ s1 = peg$c25;
4567
4654
  peg$currPos += 5;
4568
4655
  }
4569
4656
  else {
4570
4657
  s1 = peg$FAILED;
4571
4658
  if (peg$silentFails === 0) {
4572
- peg$fail(peg$e29);
4659
+ peg$fail(peg$e30);
4573
4660
  }
4574
4661
  }
4575
4662
  if (s1 !== peg$FAILED) {
@@ -4636,7 +4723,7 @@ function peg$parse(input, options) {
4636
4723
  s3 = peg$parseBlockTag();
4637
4724
  if (s3 !== peg$FAILED) {
4638
4725
  peg$savedPos = s0;
4639
- s0 = peg$f54(s2);
4726
+ s0 = peg$f56(s2);
4640
4727
  }
4641
4728
  else {
4642
4729
  peg$currPos = s0;
@@ -4649,21 +4736,21 @@ function peg$parse(input, options) {
4649
4736
  }
4650
4737
  if (s0 === peg$FAILED) {
4651
4738
  s0 = peg$currPos;
4652
- if (input.substr(peg$currPos, 5) === peg$c25) {
4653
- s1 = peg$c25;
4739
+ if (input.substr(peg$currPos, 5) === peg$c26) {
4740
+ s1 = peg$c26;
4654
4741
  peg$currPos += 5;
4655
4742
  }
4656
4743
  else {
4657
4744
  s1 = peg$FAILED;
4658
4745
  if (peg$silentFails === 0) {
4659
- peg$fail(peg$e30);
4746
+ peg$fail(peg$e31);
4660
4747
  }
4661
4748
  }
4662
4749
  if (s1 !== peg$FAILED) {
4663
4750
  s2 = peg$parseBlockTag();
4664
4751
  if (s2 !== peg$FAILED) {
4665
4752
  peg$savedPos = s0;
4666
- s0 = peg$f55();
4753
+ s0 = peg$f57();
4667
4754
  }
4668
4755
  else {
4669
4756
  peg$currPos = s0;
@@ -4676,14 +4763,14 @@ function peg$parse(input, options) {
4676
4763
  }
4677
4764
  if (s0 === peg$FAILED) {
4678
4765
  s0 = peg$currPos;
4679
- if (input.substr(peg$currPos, 6) === peg$c26) {
4680
- s1 = peg$c26;
4766
+ if (input.substr(peg$currPos, 6) === peg$c27) {
4767
+ s1 = peg$c27;
4681
4768
  peg$currPos += 6;
4682
4769
  }
4683
4770
  else {
4684
4771
  s1 = peg$FAILED;
4685
4772
  if (peg$silentFails === 0) {
4686
- peg$fail(peg$e31);
4773
+ peg$fail(peg$e32);
4687
4774
  }
4688
4775
  }
4689
4776
  if (s1 !== peg$FAILED) {
@@ -4750,7 +4837,7 @@ function peg$parse(input, options) {
4750
4837
  s3 = peg$parseBlockTag();
4751
4838
  if (s3 !== peg$FAILED) {
4752
4839
  peg$savedPos = s0;
4753
- s0 = peg$f56(s2);
4840
+ s0 = peg$f58(s2);
4754
4841
  }
4755
4842
  else {
4756
4843
  peg$currPos = s0;
@@ -4763,27 +4850,27 @@ function peg$parse(input, options) {
4763
4850
  }
4764
4851
  if (s0 === peg$FAILED) {
4765
4852
  s0 = peg$currPos;
4766
- if (input.substr(peg$currPos, 9) === peg$c27) {
4767
- s1 = peg$c27;
4853
+ if (input.substr(peg$currPos, 9) === peg$c28) {
4854
+ s1 = peg$c28;
4768
4855
  peg$currPos += 9;
4769
4856
  }
4770
4857
  else {
4771
4858
  s1 = peg$FAILED;
4772
4859
  if (peg$silentFails === 0) {
4773
- peg$fail(peg$e32);
4860
+ peg$fail(peg$e33);
4774
4861
  }
4775
4862
  }
4776
4863
  if (s1 !== peg$FAILED) {
4777
4864
  s2 = peg$currPos;
4778
4865
  s3 = peg$currPos;
4779
4866
  if (input.charCodeAt(peg$currPos) === 80) {
4780
- s4 = peg$c28;
4867
+ s4 = peg$c29;
4781
4868
  peg$currPos++;
4782
4869
  }
4783
4870
  else {
4784
4871
  s4 = peg$FAILED;
4785
4872
  if (peg$silentFails === 0) {
4786
- peg$fail(peg$e33);
4873
+ peg$fail(peg$e34);
4787
4874
  }
4788
4875
  }
4789
4876
  if (s4 !== peg$FAILED) {
@@ -4864,7 +4951,7 @@ function peg$parse(input, options) {
4864
4951
  s3 = peg$parseBlockTag();
4865
4952
  if (s3 !== peg$FAILED) {
4866
4953
  peg$savedPos = s0;
4867
- s0 = peg$f57(s2);
4954
+ s0 = peg$f59(s2);
4868
4955
  }
4869
4956
  else {
4870
4957
  peg$currPos = s0;
@@ -4882,14 +4969,14 @@ function peg$parse(input, options) {
4882
4969
  }
4883
4970
  if (s0 === peg$FAILED) {
4884
4971
  s0 = peg$currPos;
4885
- if (input.substr(peg$currPos, 6) === peg$c29) {
4886
- s1 = peg$c29;
4972
+ if (input.substr(peg$currPos, 6) === peg$c30) {
4973
+ s1 = peg$c30;
4887
4974
  peg$currPos += 6;
4888
4975
  }
4889
4976
  else {
4890
4977
  s1 = peg$FAILED;
4891
4978
  if (peg$silentFails === 0) {
4892
- peg$fail(peg$e34);
4979
+ peg$fail(peg$e35);
4893
4980
  }
4894
4981
  }
4895
4982
  if (s1 !== peg$FAILED) {
@@ -4898,7 +4985,7 @@ function peg$parse(input, options) {
4898
4985
  s3 = peg$parseBlockTag();
4899
4986
  if (s3 !== peg$FAILED) {
4900
4987
  peg$savedPos = s0;
4901
- s0 = peg$f58(s2);
4988
+ s0 = peg$f60(s2);
4902
4989
  }
4903
4990
  else {
4904
4991
  peg$currPos = s0;
@@ -4921,7 +5008,7 @@ function peg$parse(input, options) {
4921
5008
  s2 = peg$parseBlockTag();
4922
5009
  if (s2 !== peg$FAILED) {
4923
5010
  peg$savedPos = s0;
4924
- s0 = peg$f59(s1);
5011
+ s0 = peg$f61(s1);
4925
5012
  }
4926
5013
  else {
4927
5014
  peg$currPos = s0;
@@ -4935,13 +5022,13 @@ function peg$parse(input, options) {
4935
5022
  if (s0 === peg$FAILED) {
4936
5023
  s0 = peg$currPos;
4937
5024
  if (input.charCodeAt(peg$currPos) === 35) {
4938
- s1 = peg$c16;
5025
+ s1 = peg$c17;
4939
5026
  peg$currPos++;
4940
5027
  }
4941
5028
  else {
4942
5029
  s1 = peg$FAILED;
4943
5030
  if (peg$silentFails === 0) {
4944
- peg$fail(peg$e19);
5031
+ peg$fail(peg$e20);
4945
5032
  }
4946
5033
  }
4947
5034
  if (s1 !== peg$FAILED) {
@@ -5008,7 +5095,7 @@ function peg$parse(input, options) {
5008
5095
  s3 = peg$parseBlockTag();
5009
5096
  if (s3 !== peg$FAILED) {
5010
5097
  peg$savedPos = s0;
5011
- s0 = peg$f60(s2);
5098
+ s0 = peg$f62(s2);
5012
5099
  }
5013
5100
  else {
5014
5101
  peg$currPos = s0;
@@ -5032,201 +5119,201 @@ function peg$parse(input, options) {
5032
5119
  }
5033
5120
  function peg$parseAlternativeStyleTags() {
5034
5121
  var s0;
5035
- if (input.substr(peg$currPos, 4) === peg$c30) {
5036
- s0 = peg$c30;
5122
+ if (input.substr(peg$currPos, 4) === peg$c31) {
5123
+ s0 = peg$c31;
5037
5124
  peg$currPos += 4;
5038
5125
  }
5039
5126
  else {
5040
5127
  s0 = peg$FAILED;
5041
5128
  if (peg$silentFails === 0) {
5042
- peg$fail(peg$e35);
5129
+ peg$fail(peg$e36);
5043
5130
  }
5044
5131
  }
5045
5132
  if (s0 === peg$FAILED) {
5046
- if (input.substr(peg$currPos, 6) === peg$c31) {
5047
- s0 = peg$c31;
5133
+ if (input.substr(peg$currPos, 6) === peg$c32) {
5134
+ s0 = peg$c32;
5048
5135
  peg$currPos += 6;
5049
5136
  }
5050
5137
  else {
5051
5138
  s0 = peg$FAILED;
5052
5139
  if (peg$silentFails === 0) {
5053
- peg$fail(peg$e36);
5140
+ peg$fail(peg$e37);
5054
5141
  }
5055
5142
  }
5056
5143
  if (s0 === peg$FAILED) {
5057
- if (input.substr(peg$currPos, 5) === peg$c32) {
5058
- s0 = peg$c32;
5144
+ if (input.substr(peg$currPos, 5) === peg$c33) {
5145
+ s0 = peg$c33;
5059
5146
  peg$currPos += 5;
5060
5147
  }
5061
5148
  else {
5062
5149
  s0 = peg$FAILED;
5063
5150
  if (peg$silentFails === 0) {
5064
- peg$fail(peg$e37);
5151
+ peg$fail(peg$e38);
5065
5152
  }
5066
5153
  }
5067
5154
  if (s0 === peg$FAILED) {
5068
- if (input.substr(peg$currPos, 9) === peg$c33) {
5069
- s0 = peg$c33;
5155
+ if (input.substr(peg$currPos, 9) === peg$c34) {
5156
+ s0 = peg$c34;
5070
5157
  peg$currPos += 9;
5071
5158
  }
5072
5159
  else {
5073
5160
  s0 = peg$FAILED;
5074
5161
  if (peg$silentFails === 0) {
5075
- peg$fail(peg$e38);
5162
+ peg$fail(peg$e39);
5076
5163
  }
5077
5164
  }
5078
5165
  if (s0 === peg$FAILED) {
5079
- if (input.substr(peg$currPos, 6) === peg$c34) {
5080
- s0 = peg$c34;
5166
+ if (input.substr(peg$currPos, 6) === peg$c35) {
5167
+ s0 = peg$c35;
5081
5168
  peg$currPos += 6;
5082
5169
  }
5083
5170
  else {
5084
5171
  s0 = peg$FAILED;
5085
5172
  if (peg$silentFails === 0) {
5086
- peg$fail(peg$e39);
5173
+ peg$fail(peg$e40);
5087
5174
  }
5088
5175
  }
5089
5176
  if (s0 === peg$FAILED) {
5090
- if (input.substr(peg$currPos, 9) === peg$c35) {
5091
- s0 = peg$c35;
5177
+ if (input.substr(peg$currPos, 9) === peg$c36) {
5178
+ s0 = peg$c36;
5092
5179
  peg$currPos += 9;
5093
5180
  }
5094
5181
  else {
5095
5182
  s0 = peg$FAILED;
5096
5183
  if (peg$silentFails === 0) {
5097
- peg$fail(peg$e40);
5184
+ peg$fail(peg$e41);
5098
5185
  }
5099
5186
  }
5100
5187
  if (s0 === peg$FAILED) {
5101
- if (input.substr(peg$currPos, 11) === peg$c36) {
5102
- s0 = peg$c36;
5188
+ if (input.substr(peg$currPos, 11) === peg$c37) {
5189
+ s0 = peg$c37;
5103
5190
  peg$currPos += 11;
5104
5191
  }
5105
5192
  else {
5106
5193
  s0 = peg$FAILED;
5107
5194
  if (peg$silentFails === 0) {
5108
- peg$fail(peg$e41);
5195
+ peg$fail(peg$e42);
5109
5196
  }
5110
5197
  }
5111
5198
  if (s0 === peg$FAILED) {
5112
- if (input.substr(peg$currPos, 3) === peg$c37) {
5113
- s0 = peg$c37;
5199
+ if (input.substr(peg$currPos, 3) === peg$c38) {
5200
+ s0 = peg$c38;
5114
5201
  peg$currPos += 3;
5115
5202
  }
5116
5203
  else {
5117
5204
  s0 = peg$FAILED;
5118
5205
  if (peg$silentFails === 0) {
5119
- peg$fail(peg$e42);
5206
+ peg$fail(peg$e43);
5120
5207
  }
5121
5208
  }
5122
5209
  if (s0 === peg$FAILED) {
5123
- if (input.substr(peg$currPos, 3) === peg$c38) {
5124
- s0 = peg$c38;
5210
+ if (input.substr(peg$currPos, 3) === peg$c39) {
5211
+ s0 = peg$c39;
5125
5212
  peg$currPos += 3;
5126
5213
  }
5127
5214
  else {
5128
5215
  s0 = peg$FAILED;
5129
5216
  if (peg$silentFails === 0) {
5130
- peg$fail(peg$e43);
5217
+ peg$fail(peg$e44);
5131
5218
  }
5132
5219
  }
5133
5220
  if (s0 === peg$FAILED) {
5134
- if (input.substr(peg$currPos, 9) === peg$c39) {
5135
- s0 = peg$c39;
5221
+ if (input.substr(peg$currPos, 9) === peg$c40) {
5222
+ s0 = peg$c40;
5136
5223
  peg$currPos += 9;
5137
5224
  }
5138
5225
  else {
5139
5226
  s0 = peg$FAILED;
5140
5227
  if (peg$silentFails === 0) {
5141
- peg$fail(peg$e44);
5228
+ peg$fail(peg$e45);
5142
5229
  }
5143
5230
  }
5144
5231
  if (s0 === peg$FAILED) {
5145
- if (input.substr(peg$currPos, 15) === peg$c40) {
5146
- s0 = peg$c40;
5232
+ if (input.substr(peg$currPos, 15) === peg$c41) {
5233
+ s0 = peg$c41;
5147
5234
  peg$currPos += 15;
5148
5235
  }
5149
5236
  else {
5150
5237
  s0 = peg$FAILED;
5151
5238
  if (peg$silentFails === 0) {
5152
- peg$fail(peg$e45);
5239
+ peg$fail(peg$e46);
5153
5240
  }
5154
5241
  }
5155
5242
  if (s0 === peg$FAILED) {
5156
- if (input.substr(peg$currPos, 6) === peg$c41) {
5157
- s0 = peg$c41;
5243
+ if (input.substr(peg$currPos, 6) === peg$c42) {
5244
+ s0 = peg$c42;
5158
5245
  peg$currPos += 6;
5159
5246
  }
5160
5247
  else {
5161
5248
  s0 = peg$FAILED;
5162
5249
  if (peg$silentFails === 0) {
5163
- peg$fail(peg$e46);
5250
+ peg$fail(peg$e47);
5164
5251
  }
5165
5252
  }
5166
5253
  if (s0 === peg$FAILED) {
5167
- if (input.substr(peg$currPos, 10) === peg$c42) {
5168
- s0 = peg$c42;
5254
+ if (input.substr(peg$currPos, 10) === peg$c43) {
5255
+ s0 = peg$c43;
5169
5256
  peg$currPos += 10;
5170
5257
  }
5171
5258
  else {
5172
5259
  s0 = peg$FAILED;
5173
5260
  if (peg$silentFails === 0) {
5174
- peg$fail(peg$e47);
5261
+ peg$fail(peg$e48);
5175
5262
  }
5176
5263
  }
5177
5264
  if (s0 === peg$FAILED) {
5178
- if (input.substr(peg$currPos, 13) === peg$c43) {
5179
- s0 = peg$c43;
5265
+ if (input.substr(peg$currPos, 13) === peg$c44) {
5266
+ s0 = peg$c44;
5180
5267
  peg$currPos += 13;
5181
5268
  }
5182
5269
  else {
5183
5270
  s0 = peg$FAILED;
5184
5271
  if (peg$silentFails === 0) {
5185
- peg$fail(peg$e48);
5272
+ peg$fail(peg$e49);
5186
5273
  }
5187
5274
  }
5188
5275
  if (s0 === peg$FAILED) {
5189
- if (input.substr(peg$currPos, 19) === peg$c44) {
5190
- s0 = peg$c44;
5276
+ if (input.substr(peg$currPos, 19) === peg$c45) {
5277
+ s0 = peg$c45;
5191
5278
  peg$currPos += 19;
5192
5279
  }
5193
5280
  else {
5194
5281
  s0 = peg$FAILED;
5195
5282
  if (peg$silentFails === 0) {
5196
- peg$fail(peg$e49);
5283
+ peg$fail(peg$e50);
5197
5284
  }
5198
5285
  }
5199
5286
  if (s0 === peg$FAILED) {
5200
- if (input.substr(peg$currPos, 10) === peg$c45) {
5201
- s0 = peg$c45;
5287
+ if (input.substr(peg$currPos, 10) === peg$c46) {
5288
+ s0 = peg$c46;
5202
5289
  peg$currPos += 10;
5203
5290
  }
5204
5291
  else {
5205
5292
  s0 = peg$FAILED;
5206
5293
  if (peg$silentFails === 0) {
5207
- peg$fail(peg$e50);
5294
+ peg$fail(peg$e51);
5208
5295
  }
5209
5296
  }
5210
5297
  if (s0 === peg$FAILED) {
5211
- if (input.substr(peg$currPos, 10) === peg$c46) {
5212
- s0 = peg$c46;
5298
+ if (input.substr(peg$currPos, 10) === peg$c47) {
5299
+ s0 = peg$c47;
5213
5300
  peg$currPos += 10;
5214
5301
  }
5215
5302
  else {
5216
5303
  s0 = peg$FAILED;
5217
5304
  if (peg$silentFails === 0) {
5218
- peg$fail(peg$e51);
5305
+ peg$fail(peg$e52);
5219
5306
  }
5220
5307
  }
5221
5308
  if (s0 === peg$FAILED) {
5222
- if (input.substr(peg$currPos, 13) === peg$c47) {
5223
- s0 = peg$c47;
5309
+ if (input.substr(peg$currPos, 13) === peg$c48) {
5310
+ s0 = peg$c48;
5224
5311
  peg$currPos += 13;
5225
5312
  }
5226
5313
  else {
5227
5314
  s0 = peg$FAILED;
5228
5315
  if (peg$silentFails === 0) {
5229
- peg$fail(peg$e52);
5316
+ peg$fail(peg$e53);
5230
5317
  }
5231
5318
  }
5232
5319
  }
@@ -5250,245 +5337,245 @@ function peg$parse(input, options) {
5250
5337
  }
5251
5338
  function peg$parseColor() {
5252
5339
  var s0;
5253
- if (input.substr(peg$currPos, 4) === peg$c48) {
5254
- s0 = peg$c48;
5340
+ if (input.substr(peg$currPos, 4) === peg$c49) {
5341
+ s0 = peg$c49;
5255
5342
  peg$currPos += 4;
5256
5343
  }
5257
5344
  else {
5258
5345
  s0 = peg$FAILED;
5259
5346
  if (peg$silentFails === 0) {
5260
- peg$fail(peg$e53);
5347
+ peg$fail(peg$e54);
5261
5348
  }
5262
5349
  }
5263
5350
  if (s0 === peg$FAILED) {
5264
- if (input.substr(peg$currPos, 5) === peg$c49) {
5265
- s0 = peg$c49;
5351
+ if (input.substr(peg$currPos, 5) === peg$c50) {
5352
+ s0 = peg$c50;
5266
5353
  peg$currPos += 5;
5267
5354
  }
5268
5355
  else {
5269
5356
  s0 = peg$FAILED;
5270
5357
  if (peg$silentFails === 0) {
5271
- peg$fail(peg$e54);
5358
+ peg$fail(peg$e55);
5272
5359
  }
5273
5360
  }
5274
5361
  if (s0 === peg$FAILED) {
5275
- if (input.substr(peg$currPos, 4) === peg$c50) {
5276
- s0 = peg$c50;
5362
+ if (input.substr(peg$currPos, 4) === peg$c51) {
5363
+ s0 = peg$c51;
5277
5364
  peg$currPos += 4;
5278
5365
  }
5279
5366
  else {
5280
5367
  s0 = peg$FAILED;
5281
5368
  if (peg$silentFails === 0) {
5282
- peg$fail(peg$e55);
5369
+ peg$fail(peg$e56);
5283
5370
  }
5284
5371
  }
5285
5372
  if (s0 === peg$FAILED) {
5286
- if (input.substr(peg$currPos, 4) === peg$c51) {
5287
- s0 = peg$c51;
5373
+ if (input.substr(peg$currPos, 4) === peg$c52) {
5374
+ s0 = peg$c52;
5288
5375
  peg$currPos += 4;
5289
5376
  }
5290
5377
  else {
5291
5378
  s0 = peg$FAILED;
5292
5379
  if (peg$silentFails === 0) {
5293
- peg$fail(peg$e56);
5380
+ peg$fail(peg$e57);
5294
5381
  }
5295
5382
  }
5296
5383
  if (s0 === peg$FAILED) {
5297
- if (input.substr(peg$currPos, 7) === peg$c52) {
5298
- s0 = peg$c52;
5384
+ if (input.substr(peg$currPos, 7) === peg$c53) {
5385
+ s0 = peg$c53;
5299
5386
  peg$currPos += 7;
5300
5387
  }
5301
5388
  else {
5302
5389
  s0 = peg$FAILED;
5303
5390
  if (peg$silentFails === 0) {
5304
- peg$fail(peg$e57);
5391
+ peg$fail(peg$e58);
5305
5392
  }
5306
5393
  }
5307
5394
  if (s0 === peg$FAILED) {
5308
- if (input.substr(peg$currPos, 9) === peg$c53) {
5309
- s0 = peg$c53;
5395
+ if (input.substr(peg$currPos, 9) === peg$c54) {
5396
+ s0 = peg$c54;
5310
5397
  peg$currPos += 9;
5311
5398
  }
5312
5399
  else {
5313
5400
  s0 = peg$FAILED;
5314
5401
  if (peg$silentFails === 0) {
5315
- peg$fail(peg$e58);
5402
+ peg$fail(peg$e59);
5316
5403
  }
5317
5404
  }
5318
5405
  if (s0 === peg$FAILED) {
5319
- if (input.substr(peg$currPos, 4) === peg$c54) {
5320
- s0 = peg$c54;
5406
+ if (input.substr(peg$currPos, 4) === peg$c55) {
5407
+ s0 = peg$c55;
5321
5408
  peg$currPos += 4;
5322
5409
  }
5323
5410
  else {
5324
5411
  s0 = peg$FAILED;
5325
5412
  if (peg$silentFails === 0) {
5326
- peg$fail(peg$e59);
5413
+ peg$fail(peg$e60);
5327
5414
  }
5328
5415
  }
5329
5416
  if (s0 === peg$FAILED) {
5330
- if (input.substr(peg$currPos, 8) === peg$c55) {
5331
- s0 = peg$c55;
5417
+ if (input.substr(peg$currPos, 8) === peg$c56) {
5418
+ s0 = peg$c56;
5332
5419
  peg$currPos += 8;
5333
5420
  }
5334
5421
  else {
5335
5422
  s0 = peg$FAILED;
5336
5423
  if (peg$silentFails === 0) {
5337
- peg$fail(peg$e60);
5424
+ peg$fail(peg$e61);
5338
5425
  }
5339
5426
  }
5340
5427
  if (s0 === peg$FAILED) {
5341
- if (input.substr(peg$currPos, 5) === peg$c56) {
5342
- s0 = peg$c56;
5428
+ if (input.substr(peg$currPos, 5) === peg$c57) {
5429
+ s0 = peg$c57;
5343
5430
  peg$currPos += 5;
5344
5431
  }
5345
5432
  else {
5346
5433
  s0 = peg$FAILED;
5347
5434
  if (peg$silentFails === 0) {
5348
- peg$fail(peg$e61);
5435
+ peg$fail(peg$e62);
5349
5436
  }
5350
5437
  }
5351
5438
  if (s0 === peg$FAILED) {
5352
- if (input.substr(peg$currPos, 4) === peg$c57) {
5353
- s0 = peg$c57;
5439
+ if (input.substr(peg$currPos, 4) === peg$c58) {
5440
+ s0 = peg$c58;
5354
5441
  peg$currPos += 4;
5355
5442
  }
5356
5443
  else {
5357
5444
  s0 = peg$FAILED;
5358
5445
  if (peg$silentFails === 0) {
5359
- peg$fail(peg$e62);
5446
+ peg$fail(peg$e63);
5360
5447
  }
5361
5448
  }
5362
5449
  if (s0 === peg$FAILED) {
5363
- if (input.substr(peg$currPos, 7) === peg$c58) {
5364
- s0 = peg$c58;
5450
+ if (input.substr(peg$currPos, 7) === peg$c59) {
5451
+ s0 = peg$c59;
5365
5452
  peg$currPos += 7;
5366
5453
  }
5367
5454
  else {
5368
5455
  s0 = peg$FAILED;
5369
5456
  if (peg$silentFails === 0) {
5370
- peg$fail(peg$e63);
5457
+ peg$fail(peg$e64);
5371
5458
  }
5372
5459
  }
5373
5460
  if (s0 === peg$FAILED) {
5374
- if (input.substr(peg$currPos, 6) === peg$c59) {
5375
- s0 = peg$c59;
5461
+ if (input.substr(peg$currPos, 6) === peg$c60) {
5462
+ s0 = peg$c60;
5376
5463
  peg$currPos += 6;
5377
5464
  }
5378
5465
  else {
5379
5466
  s0 = peg$FAILED;
5380
5467
  if (peg$silentFails === 0) {
5381
- peg$fail(peg$e64);
5468
+ peg$fail(peg$e65);
5382
5469
  }
5383
5470
  }
5384
5471
  if (s0 === peg$FAILED) {
5385
- if (input.substr(peg$currPos, 4) === peg$c60) {
5386
- s0 = peg$c60;
5472
+ if (input.substr(peg$currPos, 4) === peg$c61) {
5473
+ s0 = peg$c61;
5387
5474
  peg$currPos += 4;
5388
5475
  }
5389
5476
  else {
5390
5477
  s0 = peg$FAILED;
5391
5478
  if (peg$silentFails === 0) {
5392
- peg$fail(peg$e65);
5479
+ peg$fail(peg$e66);
5393
5480
  }
5394
5481
  }
5395
5482
  if (s0 === peg$FAILED) {
5396
- if (input.substr(peg$currPos, 5) === peg$c61) {
5397
- s0 = peg$c61;
5483
+ if (input.substr(peg$currPos, 5) === peg$c62) {
5484
+ s0 = peg$c62;
5398
5485
  peg$currPos += 5;
5399
5486
  }
5400
5487
  else {
5401
5488
  s0 = peg$FAILED;
5402
5489
  if (peg$silentFails === 0) {
5403
- peg$fail(peg$e66);
5490
+ peg$fail(peg$e67);
5404
5491
  }
5405
5492
  }
5406
5493
  if (s0 === peg$FAILED) {
5407
- if (input.substr(peg$currPos, 6) === peg$c62) {
5408
- s0 = peg$c62;
5494
+ if (input.substr(peg$currPos, 6) === peg$c63) {
5495
+ s0 = peg$c63;
5409
5496
  peg$currPos += 6;
5410
5497
  }
5411
5498
  else {
5412
5499
  s0 = peg$FAILED;
5413
5500
  if (peg$silentFails === 0) {
5414
- peg$fail(peg$e67);
5501
+ peg$fail(peg$e68);
5415
5502
  }
5416
5503
  }
5417
5504
  if (s0 === peg$FAILED) {
5418
- if (input.substr(peg$currPos, 6) === peg$c63) {
5419
- s0 = peg$c63;
5505
+ if (input.substr(peg$currPos, 6) === peg$c64) {
5506
+ s0 = peg$c64;
5420
5507
  peg$currPos += 6;
5421
5508
  }
5422
5509
  else {
5423
5510
  s0 = peg$FAILED;
5424
5511
  if (peg$silentFails === 0) {
5425
- peg$fail(peg$e68);
5512
+ peg$fail(peg$e69);
5426
5513
  }
5427
5514
  }
5428
5515
  if (s0 === peg$FAILED) {
5429
- if (input.substr(peg$currPos, 3) === peg$c64) {
5430
- s0 = peg$c64;
5516
+ if (input.substr(peg$currPos, 3) === peg$c65) {
5517
+ s0 = peg$c65;
5431
5518
  peg$currPos += 3;
5432
5519
  }
5433
5520
  else {
5434
5521
  s0 = peg$FAILED;
5435
5522
  if (peg$silentFails === 0) {
5436
- peg$fail(peg$e69);
5523
+ peg$fail(peg$e70);
5437
5524
  }
5438
5525
  }
5439
5526
  if (s0 === peg$FAILED) {
5440
- if (input.substr(peg$currPos, 6) === peg$c65) {
5441
- s0 = peg$c65;
5527
+ if (input.substr(peg$currPos, 6) === peg$c66) {
5528
+ s0 = peg$c66;
5442
5529
  peg$currPos += 6;
5443
5530
  }
5444
5531
  else {
5445
5532
  s0 = peg$FAILED;
5446
5533
  if (peg$silentFails === 0) {
5447
- peg$fail(peg$e70);
5534
+ peg$fail(peg$e71);
5448
5535
  }
5449
5536
  }
5450
5537
  if (s0 === peg$FAILED) {
5451
- if (input.substr(peg$currPos, 4) === peg$c66) {
5452
- s0 = peg$c66;
5538
+ if (input.substr(peg$currPos, 4) === peg$c67) {
5539
+ s0 = peg$c67;
5453
5540
  peg$currPos += 4;
5454
5541
  }
5455
5542
  else {
5456
5543
  s0 = peg$FAILED;
5457
5544
  if (peg$silentFails === 0) {
5458
- peg$fail(peg$e71);
5545
+ peg$fail(peg$e72);
5459
5546
  }
5460
5547
  }
5461
5548
  if (s0 === peg$FAILED) {
5462
- if (input.substr(peg$currPos, 6) === peg$c67) {
5463
- s0 = peg$c67;
5549
+ if (input.substr(peg$currPos, 6) === peg$c68) {
5550
+ s0 = peg$c68;
5464
5551
  peg$currPos += 6;
5465
5552
  }
5466
5553
  else {
5467
5554
  s0 = peg$FAILED;
5468
5555
  if (peg$silentFails === 0) {
5469
- peg$fail(peg$e72);
5556
+ peg$fail(peg$e73);
5470
5557
  }
5471
5558
  }
5472
5559
  if (s0 === peg$FAILED) {
5473
- if (input.substr(peg$currPos, 5) === peg$c68) {
5474
- s0 = peg$c68;
5560
+ if (input.substr(peg$currPos, 5) === peg$c69) {
5561
+ s0 = peg$c69;
5475
5562
  peg$currPos += 5;
5476
5563
  }
5477
5564
  else {
5478
5565
  s0 = peg$FAILED;
5479
5566
  if (peg$silentFails === 0) {
5480
- peg$fail(peg$e73);
5567
+ peg$fail(peg$e74);
5481
5568
  }
5482
5569
  }
5483
5570
  if (s0 === peg$FAILED) {
5484
- if (input.substr(peg$currPos, 6) === peg$c69) {
5485
- s0 = peg$c69;
5571
+ if (input.substr(peg$currPos, 6) === peg$c70) {
5572
+ s0 = peg$c70;
5486
5573
  peg$currPos += 6;
5487
5574
  }
5488
5575
  else {
5489
5576
  s0 = peg$FAILED;
5490
5577
  if (peg$silentFails === 0) {
5491
- peg$fail(peg$e74);
5578
+ peg$fail(peg$e75);
5492
5579
  }
5493
5580
  }
5494
5581
  }
@@ -5520,12 +5607,12 @@ function peg$parse(input, options) {
5520
5607
  s0 = peg$currPos;
5521
5608
  s1 = peg$parsebitmarkMinusMinusString();
5522
5609
  peg$savedPos = s0;
5523
- s1 = peg$f61(s1);
5610
+ s1 = peg$f63(s1);
5524
5611
  s0 = s1;
5525
5612
  peg$silentFails--;
5526
5613
  s1 = peg$FAILED;
5527
5614
  if (peg$silentFails === 0) {
5528
- peg$fail(peg$e75);
5615
+ peg$fail(peg$e76);
5529
5616
  }
5530
5617
  return s0;
5531
5618
  }
@@ -5550,11 +5637,11 @@ function peg$parse(input, options) {
5550
5637
  }
5551
5638
  }
5552
5639
  peg$savedPos = s0;
5553
- s0 = peg$f62(s1, s2);
5640
+ s0 = peg$f64(s1, s2);
5554
5641
  peg$silentFails--;
5555
5642
  s1 = peg$FAILED;
5556
5643
  if (peg$silentFails === 0) {
5557
- peg$fail(peg$e76);
5644
+ peg$fail(peg$e77);
5558
5645
  }
5559
5646
  return s0;
5560
5647
  }
@@ -5587,7 +5674,7 @@ function peg$parse(input, options) {
5587
5674
  else {
5588
5675
  s6 = peg$FAILED;
5589
5676
  if (peg$silentFails === 0) {
5590
- peg$fail(peg$e15);
5677
+ peg$fail(peg$e16);
5591
5678
  }
5592
5679
  }
5593
5680
  if (s6 !== peg$FAILED) {
@@ -5630,7 +5717,7 @@ function peg$parse(input, options) {
5630
5717
  else {
5631
5718
  s6 = peg$FAILED;
5632
5719
  if (peg$silentFails === 0) {
5633
- peg$fail(peg$e15);
5720
+ peg$fail(peg$e16);
5634
5721
  }
5635
5722
  }
5636
5723
  if (s6 !== peg$FAILED) {
@@ -5659,7 +5746,7 @@ function peg$parse(input, options) {
5659
5746
  }
5660
5747
  if (s1 !== peg$FAILED) {
5661
5748
  peg$savedPos = s0;
5662
- s1 = peg$f63(s1);
5749
+ s1 = peg$f65(s1);
5663
5750
  }
5664
5751
  s0 = s1;
5665
5752
  if (s0 === peg$FAILED) {
@@ -5670,13 +5757,13 @@ function peg$parse(input, options) {
5670
5757
  function peg$parseBoldHalfTag() {
5671
5758
  var s0;
5672
5759
  if (input.charCodeAt(peg$currPos) === 42) {
5673
- s0 = peg$c70;
5760
+ s0 = peg$c71;
5674
5761
  peg$currPos++;
5675
5762
  }
5676
5763
  else {
5677
5764
  s0 = peg$FAILED;
5678
5765
  if (peg$silentFails === 0) {
5679
- peg$fail(peg$e77);
5766
+ peg$fail(peg$e78);
5680
5767
  }
5681
5768
  }
5682
5769
  return s0;
@@ -5684,13 +5771,13 @@ function peg$parse(input, options) {
5684
5771
  function peg$parseItalicHalfTag() {
5685
5772
  var s0;
5686
5773
  if (input.charCodeAt(peg$currPos) === 95) {
5687
- s0 = peg$c71;
5774
+ s0 = peg$c72;
5688
5775
  peg$currPos++;
5689
5776
  }
5690
5777
  else {
5691
5778
  s0 = peg$FAILED;
5692
5779
  if (peg$silentFails === 0) {
5693
- peg$fail(peg$e78);
5780
+ peg$fail(peg$e79);
5694
5781
  }
5695
5782
  }
5696
5783
  return s0;
@@ -5698,13 +5785,13 @@ function peg$parse(input, options) {
5698
5785
  function peg$parseLightHalfTag() {
5699
5786
  var s0;
5700
5787
  if (input.charCodeAt(peg$currPos) === 96) {
5701
- s0 = peg$c72;
5788
+ s0 = peg$c73;
5702
5789
  peg$currPos++;
5703
5790
  }
5704
5791
  else {
5705
5792
  s0 = peg$FAILED;
5706
5793
  if (peg$silentFails === 0) {
5707
- peg$fail(peg$e79);
5794
+ peg$fail(peg$e80);
5708
5795
  }
5709
5796
  }
5710
5797
  return s0;
@@ -5712,13 +5799,13 @@ function peg$parse(input, options) {
5712
5799
  function peg$parseHighlightHalfTag() {
5713
5800
  var s0;
5714
5801
  if (input.charCodeAt(peg$currPos) === 33) {
5715
- s0 = peg$c73;
5802
+ s0 = peg$c74;
5716
5803
  peg$currPos++;
5717
5804
  }
5718
5805
  else {
5719
5806
  s0 = peg$FAILED;
5720
5807
  if (peg$silentFails === 0) {
5721
- peg$fail(peg$e80);
5808
+ peg$fail(peg$e81);
5722
5809
  }
5723
5810
  }
5724
5811
  return s0;
@@ -5809,14 +5896,14 @@ function peg$parse(input, options) {
5809
5896
  }
5810
5897
  function peg$parseBodyBitOpenTag() {
5811
5898
  var s0;
5812
- if (input.substr(peg$currPos, 2) === peg$c74) {
5813
- s0 = peg$c74;
5899
+ if (input.substr(peg$currPos, 2) === peg$c75) {
5900
+ s0 = peg$c75;
5814
5901
  peg$currPos += 2;
5815
5902
  }
5816
5903
  else {
5817
5904
  s0 = peg$FAILED;
5818
5905
  if (peg$silentFails === 0) {
5819
- peg$fail(peg$e81);
5906
+ peg$fail(peg$e82);
5820
5907
  }
5821
5908
  }
5822
5909
  return s0;
@@ -5824,13 +5911,13 @@ function peg$parse(input, options) {
5824
5911
  function peg$parseBodyBitCloseTag() {
5825
5912
  var s0;
5826
5913
  if (input.charCodeAt(peg$currPos) === 93) {
5827
- s0 = peg$c75;
5914
+ s0 = peg$c76;
5828
5915
  peg$currPos++;
5829
5916
  }
5830
5917
  else {
5831
5918
  s0 = peg$FAILED;
5832
5919
  if (peg$silentFails === 0) {
5833
- peg$fail(peg$e82);
5920
+ peg$fail(peg$e83);
5834
5921
  }
5835
5922
  }
5836
5923
  return s0;
@@ -5849,7 +5936,7 @@ function peg$parse(input, options) {
5849
5936
  else {
5850
5937
  s4 = peg$FAILED;
5851
5938
  if (peg$silentFails === 0) {
5852
- peg$fail(peg$e21);
5939
+ peg$fail(peg$e22);
5853
5940
  }
5854
5941
  }
5855
5942
  if (s4 !== peg$FAILED) {
@@ -5862,7 +5949,7 @@ function peg$parse(input, options) {
5862
5949
  else {
5863
5950
  s4 = peg$FAILED;
5864
5951
  if (peg$silentFails === 0) {
5865
- peg$fail(peg$e21);
5952
+ peg$fail(peg$e22);
5866
5953
  }
5867
5954
  }
5868
5955
  }
@@ -5880,7 +5967,7 @@ function peg$parse(input, options) {
5880
5967
  s3 = peg$parseBodyBitCloseTag();
5881
5968
  if (s3 !== peg$FAILED) {
5882
5969
  peg$savedPos = s0;
5883
- s0 = peg$f64(s2);
5970
+ s0 = peg$f66(s2);
5884
5971
  }
5885
5972
  else {
5886
5973
  peg$currPos = s0;
@@ -5901,13 +5988,13 @@ function peg$parse(input, options) {
5901
5988
  s1 = peg$parseBoldTag();
5902
5989
  if (s1 !== peg$FAILED) {
5903
5990
  if (input.charCodeAt(peg$currPos) === 32) {
5904
- s2 = peg$c15;
5991
+ s2 = peg$c16;
5905
5992
  peg$currPos++;
5906
5993
  }
5907
5994
  else {
5908
5995
  s2 = peg$FAILED;
5909
5996
  if (peg$silentFails === 0) {
5910
- peg$fail(peg$e18);
5997
+ peg$fail(peg$e19);
5911
5998
  }
5912
5999
  }
5913
6000
  if (s2 === peg$FAILED) {
@@ -5920,13 +6007,13 @@ function peg$parse(input, options) {
5920
6007
  peg$silentFails++;
5921
6008
  s7 = peg$currPos;
5922
6009
  if (input.charCodeAt(peg$currPos) === 32) {
5923
- s8 = peg$c15;
6010
+ s8 = peg$c16;
5924
6011
  peg$currPos++;
5925
6012
  }
5926
6013
  else {
5927
6014
  s8 = peg$FAILED;
5928
6015
  if (peg$silentFails === 0) {
5929
- peg$fail(peg$e18);
6016
+ peg$fail(peg$e19);
5930
6017
  }
5931
6018
  }
5932
6019
  if (s8 === peg$FAILED) {
@@ -5957,7 +6044,7 @@ function peg$parse(input, options) {
5957
6044
  else {
5958
6045
  s7 = peg$FAILED;
5959
6046
  if (peg$silentFails === 0) {
5960
- peg$fail(peg$e15);
6047
+ peg$fail(peg$e16);
5961
6048
  }
5962
6049
  }
5963
6050
  if (s7 !== peg$FAILED) {
@@ -5980,13 +6067,13 @@ function peg$parse(input, options) {
5980
6067
  peg$silentFails++;
5981
6068
  s7 = peg$currPos;
5982
6069
  if (input.charCodeAt(peg$currPos) === 32) {
5983
- s8 = peg$c15;
6070
+ s8 = peg$c16;
5984
6071
  peg$currPos++;
5985
6072
  }
5986
6073
  else {
5987
6074
  s8 = peg$FAILED;
5988
6075
  if (peg$silentFails === 0) {
5989
- peg$fail(peg$e18);
6076
+ peg$fail(peg$e19);
5990
6077
  }
5991
6078
  }
5992
6079
  if (s8 === peg$FAILED) {
@@ -6017,7 +6104,7 @@ function peg$parse(input, options) {
6017
6104
  else {
6018
6105
  s7 = peg$FAILED;
6019
6106
  if (peg$silentFails === 0) {
6020
- peg$fail(peg$e15);
6107
+ peg$fail(peg$e16);
6021
6108
  }
6022
6109
  }
6023
6110
  if (s7 !== peg$FAILED) {
@@ -6036,13 +6123,13 @@ function peg$parse(input, options) {
6036
6123
  }
6037
6124
  s3 = input.substring(s3, peg$currPos);
6038
6125
  if (input.charCodeAt(peg$currPos) === 32) {
6039
- s4 = peg$c15;
6126
+ s4 = peg$c16;
6040
6127
  peg$currPos++;
6041
6128
  }
6042
6129
  else {
6043
6130
  s4 = peg$FAILED;
6044
6131
  if (peg$silentFails === 0) {
6045
- peg$fail(peg$e18);
6132
+ peg$fail(peg$e19);
6046
6133
  }
6047
6134
  }
6048
6135
  if (s4 === peg$FAILED) {
@@ -6051,7 +6138,7 @@ function peg$parse(input, options) {
6051
6138
  s5 = peg$parseBoldTag();
6052
6139
  if (s5 !== peg$FAILED) {
6053
6140
  peg$savedPos = s0;
6054
- s0 = peg$f65(s3);
6141
+ s0 = peg$f67(s3);
6055
6142
  }
6056
6143
  else {
6057
6144
  peg$currPos = s0;
@@ -6067,13 +6154,13 @@ function peg$parse(input, options) {
6067
6154
  s1 = peg$parseItalicTag();
6068
6155
  if (s1 !== peg$FAILED) {
6069
6156
  if (input.charCodeAt(peg$currPos) === 32) {
6070
- s2 = peg$c15;
6157
+ s2 = peg$c16;
6071
6158
  peg$currPos++;
6072
6159
  }
6073
6160
  else {
6074
6161
  s2 = peg$FAILED;
6075
6162
  if (peg$silentFails === 0) {
6076
- peg$fail(peg$e18);
6163
+ peg$fail(peg$e19);
6077
6164
  }
6078
6165
  }
6079
6166
  if (s2 === peg$FAILED) {
@@ -6086,13 +6173,13 @@ function peg$parse(input, options) {
6086
6173
  peg$silentFails++;
6087
6174
  s7 = peg$currPos;
6088
6175
  if (input.charCodeAt(peg$currPos) === 32) {
6089
- s8 = peg$c15;
6176
+ s8 = peg$c16;
6090
6177
  peg$currPos++;
6091
6178
  }
6092
6179
  else {
6093
6180
  s8 = peg$FAILED;
6094
6181
  if (peg$silentFails === 0) {
6095
- peg$fail(peg$e18);
6182
+ peg$fail(peg$e19);
6096
6183
  }
6097
6184
  }
6098
6185
  if (s8 === peg$FAILED) {
@@ -6123,7 +6210,7 @@ function peg$parse(input, options) {
6123
6210
  else {
6124
6211
  s7 = peg$FAILED;
6125
6212
  if (peg$silentFails === 0) {
6126
- peg$fail(peg$e15);
6213
+ peg$fail(peg$e16);
6127
6214
  }
6128
6215
  }
6129
6216
  if (s7 !== peg$FAILED) {
@@ -6146,13 +6233,13 @@ function peg$parse(input, options) {
6146
6233
  peg$silentFails++;
6147
6234
  s7 = peg$currPos;
6148
6235
  if (input.charCodeAt(peg$currPos) === 32) {
6149
- s8 = peg$c15;
6236
+ s8 = peg$c16;
6150
6237
  peg$currPos++;
6151
6238
  }
6152
6239
  else {
6153
6240
  s8 = peg$FAILED;
6154
6241
  if (peg$silentFails === 0) {
6155
- peg$fail(peg$e18);
6242
+ peg$fail(peg$e19);
6156
6243
  }
6157
6244
  }
6158
6245
  if (s8 === peg$FAILED) {
@@ -6183,7 +6270,7 @@ function peg$parse(input, options) {
6183
6270
  else {
6184
6271
  s7 = peg$FAILED;
6185
6272
  if (peg$silentFails === 0) {
6186
- peg$fail(peg$e15);
6273
+ peg$fail(peg$e16);
6187
6274
  }
6188
6275
  }
6189
6276
  if (s7 !== peg$FAILED) {
@@ -6202,13 +6289,13 @@ function peg$parse(input, options) {
6202
6289
  }
6203
6290
  s3 = input.substring(s3, peg$currPos);
6204
6291
  if (input.charCodeAt(peg$currPos) === 32) {
6205
- s4 = peg$c15;
6292
+ s4 = peg$c16;
6206
6293
  peg$currPos++;
6207
6294
  }
6208
6295
  else {
6209
6296
  s4 = peg$FAILED;
6210
6297
  if (peg$silentFails === 0) {
6211
- peg$fail(peg$e18);
6298
+ peg$fail(peg$e19);
6212
6299
  }
6213
6300
  }
6214
6301
  if (s4 === peg$FAILED) {
@@ -6217,7 +6304,7 @@ function peg$parse(input, options) {
6217
6304
  s5 = peg$parseItalicTag();
6218
6305
  if (s5 !== peg$FAILED) {
6219
6306
  peg$savedPos = s0;
6220
- s0 = peg$f66(s3);
6307
+ s0 = peg$f68(s3);
6221
6308
  }
6222
6309
  else {
6223
6310
  peg$currPos = s0;
@@ -6233,13 +6320,13 @@ function peg$parse(input, options) {
6233
6320
  s1 = peg$parseLightTag();
6234
6321
  if (s1 !== peg$FAILED) {
6235
6322
  if (input.charCodeAt(peg$currPos) === 32) {
6236
- s2 = peg$c15;
6323
+ s2 = peg$c16;
6237
6324
  peg$currPos++;
6238
6325
  }
6239
6326
  else {
6240
6327
  s2 = peg$FAILED;
6241
6328
  if (peg$silentFails === 0) {
6242
- peg$fail(peg$e18);
6329
+ peg$fail(peg$e19);
6243
6330
  }
6244
6331
  }
6245
6332
  if (s2 === peg$FAILED) {
@@ -6252,13 +6339,13 @@ function peg$parse(input, options) {
6252
6339
  peg$silentFails++;
6253
6340
  s7 = peg$currPos;
6254
6341
  if (input.charCodeAt(peg$currPos) === 32) {
6255
- s8 = peg$c15;
6342
+ s8 = peg$c16;
6256
6343
  peg$currPos++;
6257
6344
  }
6258
6345
  else {
6259
6346
  s8 = peg$FAILED;
6260
6347
  if (peg$silentFails === 0) {
6261
- peg$fail(peg$e18);
6348
+ peg$fail(peg$e19);
6262
6349
  }
6263
6350
  }
6264
6351
  if (s8 === peg$FAILED) {
@@ -6289,7 +6376,7 @@ function peg$parse(input, options) {
6289
6376
  else {
6290
6377
  s7 = peg$FAILED;
6291
6378
  if (peg$silentFails === 0) {
6292
- peg$fail(peg$e15);
6379
+ peg$fail(peg$e16);
6293
6380
  }
6294
6381
  }
6295
6382
  if (s7 !== peg$FAILED) {
@@ -6312,13 +6399,13 @@ function peg$parse(input, options) {
6312
6399
  peg$silentFails++;
6313
6400
  s7 = peg$currPos;
6314
6401
  if (input.charCodeAt(peg$currPos) === 32) {
6315
- s8 = peg$c15;
6402
+ s8 = peg$c16;
6316
6403
  peg$currPos++;
6317
6404
  }
6318
6405
  else {
6319
6406
  s8 = peg$FAILED;
6320
6407
  if (peg$silentFails === 0) {
6321
- peg$fail(peg$e18);
6408
+ peg$fail(peg$e19);
6322
6409
  }
6323
6410
  }
6324
6411
  if (s8 === peg$FAILED) {
@@ -6349,7 +6436,7 @@ function peg$parse(input, options) {
6349
6436
  else {
6350
6437
  s7 = peg$FAILED;
6351
6438
  if (peg$silentFails === 0) {
6352
- peg$fail(peg$e15);
6439
+ peg$fail(peg$e16);
6353
6440
  }
6354
6441
  }
6355
6442
  if (s7 !== peg$FAILED) {
@@ -6368,13 +6455,13 @@ function peg$parse(input, options) {
6368
6455
  }
6369
6456
  s3 = input.substring(s3, peg$currPos);
6370
6457
  if (input.charCodeAt(peg$currPos) === 32) {
6371
- s4 = peg$c15;
6458
+ s4 = peg$c16;
6372
6459
  peg$currPos++;
6373
6460
  }
6374
6461
  else {
6375
6462
  s4 = peg$FAILED;
6376
6463
  if (peg$silentFails === 0) {
6377
- peg$fail(peg$e18);
6464
+ peg$fail(peg$e19);
6378
6465
  }
6379
6466
  }
6380
6467
  if (s4 === peg$FAILED) {
@@ -6383,7 +6470,7 @@ function peg$parse(input, options) {
6383
6470
  s5 = peg$parseLightTag();
6384
6471
  if (s5 !== peg$FAILED) {
6385
6472
  peg$savedPos = s0;
6386
- s0 = peg$f67(s3);
6473
+ s0 = peg$f69(s3);
6387
6474
  }
6388
6475
  else {
6389
6476
  peg$currPos = s0;
@@ -6399,13 +6486,13 @@ function peg$parse(input, options) {
6399
6486
  s1 = peg$parseHighlightTag();
6400
6487
  if (s1 !== peg$FAILED) {
6401
6488
  if (input.charCodeAt(peg$currPos) === 32) {
6402
- s2 = peg$c15;
6489
+ s2 = peg$c16;
6403
6490
  peg$currPos++;
6404
6491
  }
6405
6492
  else {
6406
6493
  s2 = peg$FAILED;
6407
6494
  if (peg$silentFails === 0) {
6408
- peg$fail(peg$e18);
6495
+ peg$fail(peg$e19);
6409
6496
  }
6410
6497
  }
6411
6498
  if (s2 === peg$FAILED) {
@@ -6418,13 +6505,13 @@ function peg$parse(input, options) {
6418
6505
  peg$silentFails++;
6419
6506
  s7 = peg$currPos;
6420
6507
  if (input.charCodeAt(peg$currPos) === 32) {
6421
- s8 = peg$c15;
6508
+ s8 = peg$c16;
6422
6509
  peg$currPos++;
6423
6510
  }
6424
6511
  else {
6425
6512
  s8 = peg$FAILED;
6426
6513
  if (peg$silentFails === 0) {
6427
- peg$fail(peg$e18);
6514
+ peg$fail(peg$e19);
6428
6515
  }
6429
6516
  }
6430
6517
  if (s8 === peg$FAILED) {
@@ -6455,7 +6542,7 @@ function peg$parse(input, options) {
6455
6542
  else {
6456
6543
  s7 = peg$FAILED;
6457
6544
  if (peg$silentFails === 0) {
6458
- peg$fail(peg$e15);
6545
+ peg$fail(peg$e16);
6459
6546
  }
6460
6547
  }
6461
6548
  if (s7 !== peg$FAILED) {
@@ -6478,13 +6565,13 @@ function peg$parse(input, options) {
6478
6565
  peg$silentFails++;
6479
6566
  s7 = peg$currPos;
6480
6567
  if (input.charCodeAt(peg$currPos) === 32) {
6481
- s8 = peg$c15;
6568
+ s8 = peg$c16;
6482
6569
  peg$currPos++;
6483
6570
  }
6484
6571
  else {
6485
6572
  s8 = peg$FAILED;
6486
6573
  if (peg$silentFails === 0) {
6487
- peg$fail(peg$e18);
6574
+ peg$fail(peg$e19);
6488
6575
  }
6489
6576
  }
6490
6577
  if (s8 === peg$FAILED) {
@@ -6515,7 +6602,7 @@ function peg$parse(input, options) {
6515
6602
  else {
6516
6603
  s7 = peg$FAILED;
6517
6604
  if (peg$silentFails === 0) {
6518
- peg$fail(peg$e15);
6605
+ peg$fail(peg$e16);
6519
6606
  }
6520
6607
  }
6521
6608
  if (s7 !== peg$FAILED) {
@@ -6534,13 +6621,13 @@ function peg$parse(input, options) {
6534
6621
  }
6535
6622
  s3 = input.substring(s3, peg$currPos);
6536
6623
  if (input.charCodeAt(peg$currPos) === 32) {
6537
- s4 = peg$c15;
6624
+ s4 = peg$c16;
6538
6625
  peg$currPos++;
6539
6626
  }
6540
6627
  else {
6541
6628
  s4 = peg$FAILED;
6542
6629
  if (peg$silentFails === 0) {
6543
- peg$fail(peg$e18);
6630
+ peg$fail(peg$e19);
6544
6631
  }
6545
6632
  }
6546
6633
  if (s4 === peg$FAILED) {
@@ -6549,7 +6636,7 @@ function peg$parse(input, options) {
6549
6636
  s5 = peg$parseHighlightTag();
6550
6637
  if (s5 !== peg$FAILED) {
6551
6638
  peg$savedPos = s0;
6552
- s0 = peg$f68(s3);
6639
+ s0 = peg$f70(s3);
6553
6640
  }
6554
6641
  else {
6555
6642
  peg$currPos = s0;
@@ -6716,57 +6803,57 @@ function peg$parse(input, options) {
6716
6803
  var s0, s1;
6717
6804
  peg$silentFails++;
6718
6805
  if (input.charCodeAt(peg$currPos) === 10) {
6719
- s0 = peg$c76;
6806
+ s0 = peg$c77;
6720
6807
  peg$currPos++;
6721
6808
  }
6722
6809
  else {
6723
6810
  s0 = peg$FAILED;
6724
6811
  if (peg$silentFails === 0) {
6725
- peg$fail(peg$e84);
6812
+ peg$fail(peg$e85);
6726
6813
  }
6727
6814
  }
6728
6815
  if (s0 === peg$FAILED) {
6729
- if (input.substr(peg$currPos, 2) === peg$c77) {
6730
- s0 = peg$c77;
6816
+ if (input.substr(peg$currPos, 2) === peg$c78) {
6817
+ s0 = peg$c78;
6731
6818
  peg$currPos += 2;
6732
6819
  }
6733
6820
  else {
6734
6821
  s0 = peg$FAILED;
6735
6822
  if (peg$silentFails === 0) {
6736
- peg$fail(peg$e85);
6823
+ peg$fail(peg$e86);
6737
6824
  }
6738
6825
  }
6739
6826
  if (s0 === peg$FAILED) {
6740
6827
  if (input.charCodeAt(peg$currPos) === 13) {
6741
- s0 = peg$c78;
6828
+ s0 = peg$c79;
6742
6829
  peg$currPos++;
6743
6830
  }
6744
6831
  else {
6745
6832
  s0 = peg$FAILED;
6746
6833
  if (peg$silentFails === 0) {
6747
- peg$fail(peg$e86);
6834
+ peg$fail(peg$e87);
6748
6835
  }
6749
6836
  }
6750
6837
  if (s0 === peg$FAILED) {
6751
6838
  if (input.charCodeAt(peg$currPos) === 8232) {
6752
- s0 = peg$c79;
6839
+ s0 = peg$c80;
6753
6840
  peg$currPos++;
6754
6841
  }
6755
6842
  else {
6756
6843
  s0 = peg$FAILED;
6757
6844
  if (peg$silentFails === 0) {
6758
- peg$fail(peg$e87);
6845
+ peg$fail(peg$e88);
6759
6846
  }
6760
6847
  }
6761
6848
  if (s0 === peg$FAILED) {
6762
6849
  if (input.charCodeAt(peg$currPos) === 8233) {
6763
- s0 = peg$c80;
6850
+ s0 = peg$c81;
6764
6851
  peg$currPos++;
6765
6852
  }
6766
6853
  else {
6767
6854
  s0 = peg$FAILED;
6768
6855
  if (peg$silentFails === 0) {
6769
- peg$fail(peg$e88);
6856
+ peg$fail(peg$e89);
6770
6857
  }
6771
6858
  }
6772
6859
  }
@@ -6777,7 +6864,7 @@ function peg$parse(input, options) {
6777
6864
  if (s0 === peg$FAILED) {
6778
6865
  s1 = peg$FAILED;
6779
6866
  if (peg$silentFails === 0) {
6780
- peg$fail(peg$e83);
6867
+ peg$fail(peg$e84);
6781
6868
  }
6782
6869
  }
6783
6870
  return s0;
@@ -6812,7 +6899,7 @@ function peg$parse(input, options) {
6812
6899
  peg$silentFails--;
6813
6900
  s1 = peg$FAILED;
6814
6901
  if (peg$silentFails === 0) {
6815
- peg$fail(peg$e89);
6902
+ peg$fail(peg$e90);
6816
6903
  }
6817
6904
  return s0;
6818
6905
  }
@@ -6836,7 +6923,7 @@ function peg$parse(input, options) {
6836
6923
  peg$silentFails--;
6837
6924
  s1 = peg$FAILED;
6838
6925
  if (peg$silentFails === 0) {
6839
- peg$fail(peg$e90);
6926
+ peg$fail(peg$e91);
6840
6927
  }
6841
6928
  return s0;
6842
6929
  }
@@ -6860,7 +6947,7 @@ function peg$parse(input, options) {
6860
6947
  if (s0 === peg$FAILED) {
6861
6948
  s1 = peg$FAILED;
6862
6949
  if (peg$silentFails === 0) {
6863
- peg$fail(peg$e91);
6950
+ peg$fail(peg$e92);
6864
6951
  }
6865
6952
  }
6866
6953
  return s0;
@@ -6875,14 +6962,14 @@ function peg$parse(input, options) {
6875
6962
  else {
6876
6963
  s0 = peg$FAILED;
6877
6964
  if (peg$silentFails === 0) {
6878
- peg$fail(peg$e93);
6965
+ peg$fail(peg$e94);
6879
6966
  }
6880
6967
  }
6881
6968
  peg$silentFails--;
6882
6969
  if (s0 === peg$FAILED) {
6883
6970
  s1 = peg$FAILED;
6884
6971
  if (peg$silentFails === 0) {
6885
- peg$fail(peg$e92);
6972
+ peg$fail(peg$e93);
6886
6973
  }
6887
6974
  }
6888
6975
  return s0;
@@ -6896,7 +6983,7 @@ function peg$parse(input, options) {
6896
6983
  else {
6897
6984
  s0 = peg$FAILED;
6898
6985
  if (peg$silentFails === 0) {
6899
- peg$fail(peg$e94);
6986
+ peg$fail(peg$e95);
6900
6987
  }
6901
6988
  }
6902
6989
  return s0;
@@ -6910,7 +6997,7 @@ function peg$parse(input, options) {
6910
6997
  else {
6911
6998
  s0 = peg$FAILED;
6912
6999
  if (peg$silentFails === 0) {
6913
- peg$fail(peg$e95);
7000
+ peg$fail(peg$e96);
6914
7001
  }
6915
7002
  }
6916
7003
  return s0;
@@ -6924,7 +7011,7 @@ function peg$parse(input, options) {
6924
7011
  else {
6925
7012
  s0 = peg$FAILED;
6926
7013
  if (peg$silentFails === 0) {
6927
- peg$fail(peg$e96);
7014
+ peg$fail(peg$e97);
6928
7015
  }
6929
7016
  }
6930
7017
  return s0;
@@ -6942,7 +7029,7 @@ function peg$parse(input, options) {
6942
7029
  else {
6943
7030
  s1 = peg$FAILED;
6944
7031
  if (peg$silentFails === 0) {
6945
- peg$fail(peg$e15);
7032
+ peg$fail(peg$e16);
6946
7033
  }
6947
7034
  }
6948
7035
  peg$silentFails--;
@@ -6960,38 +7047,38 @@ function peg$parse(input, options) {
6960
7047
  var s0, s1, s2, s3, s4, s5, s6, s7, s8;
6961
7048
  s0 = peg$currPos;
6962
7049
  s1 = peg$currPos;
6963
- if (input.substr(peg$currPos, 4) === peg$c81) {
6964
- s2 = peg$c81;
7050
+ if (input.substr(peg$currPos, 4) === peg$c82) {
7051
+ s2 = peg$c82;
6965
7052
  peg$currPos += 4;
6966
7053
  }
6967
7054
  else {
6968
7055
  s2 = peg$FAILED;
6969
7056
  if (peg$silentFails === 0) {
6970
- peg$fail(peg$e97);
7057
+ peg$fail(peg$e98);
6971
7058
  }
6972
7059
  }
6973
7060
  if (s2 !== peg$FAILED) {
6974
7061
  if (input.charCodeAt(peg$currPos) === 115) {
6975
- s3 = peg$c82;
7062
+ s3 = peg$c83;
6976
7063
  peg$currPos++;
6977
7064
  }
6978
7065
  else {
6979
7066
  s3 = peg$FAILED;
6980
7067
  if (peg$silentFails === 0) {
6981
- peg$fail(peg$e98);
7068
+ peg$fail(peg$e99);
6982
7069
  }
6983
7070
  }
6984
7071
  if (s3 === peg$FAILED) {
6985
7072
  s3 = null;
6986
7073
  }
6987
- if (input.substr(peg$currPos, 3) === peg$c83) {
6988
- s4 = peg$c83;
7074
+ if (input.substr(peg$currPos, 3) === peg$c84) {
7075
+ s4 = peg$c84;
6989
7076
  peg$currPos += 3;
6990
7077
  }
6991
7078
  else {
6992
7079
  s4 = peg$FAILED;
6993
7080
  if (peg$silentFails === 0) {
6994
- peg$fail(peg$e99);
7081
+ peg$fail(peg$e100);
6995
7082
  }
6996
7083
  }
6997
7084
  if (s4 !== peg$FAILED) {
@@ -7078,38 +7165,38 @@ function peg$parse(input, options) {
7078
7165
  s0 = peg$currPos;
7079
7166
  s1 = peg$currPos;
7080
7167
  s2 = peg$currPos;
7081
- if (input.substr(peg$currPos, 4) === peg$c81) {
7082
- s3 = peg$c81;
7168
+ if (input.substr(peg$currPos, 4) === peg$c82) {
7169
+ s3 = peg$c82;
7083
7170
  peg$currPos += 4;
7084
7171
  }
7085
7172
  else {
7086
7173
  s3 = peg$FAILED;
7087
7174
  if (peg$silentFails === 0) {
7088
- peg$fail(peg$e97);
7175
+ peg$fail(peg$e98);
7089
7176
  }
7090
7177
  }
7091
7178
  if (s3 !== peg$FAILED) {
7092
7179
  if (input.charCodeAt(peg$currPos) === 115) {
7093
- s4 = peg$c82;
7180
+ s4 = peg$c83;
7094
7181
  peg$currPos++;
7095
7182
  }
7096
7183
  else {
7097
7184
  s4 = peg$FAILED;
7098
7185
  if (peg$silentFails === 0) {
7099
- peg$fail(peg$e98);
7186
+ peg$fail(peg$e99);
7100
7187
  }
7101
7188
  }
7102
7189
  if (s4 === peg$FAILED) {
7103
7190
  s4 = null;
7104
7191
  }
7105
- if (input.substr(peg$currPos, 3) === peg$c83) {
7106
- s5 = peg$c83;
7192
+ if (input.substr(peg$currPos, 3) === peg$c84) {
7193
+ s5 = peg$c84;
7107
7194
  peg$currPos += 3;
7108
7195
  }
7109
7196
  else {
7110
7197
  s5 = peg$FAILED;
7111
7198
  if (peg$silentFails === 0) {
7112
- peg$fail(peg$e99);
7199
+ peg$fail(peg$e100);
7113
7200
  }
7114
7201
  }
7115
7202
  if (s5 !== peg$FAILED) {
@@ -7126,14 +7213,14 @@ function peg$parse(input, options) {
7126
7213
  s2 = peg$FAILED;
7127
7214
  }
7128
7215
  if (s2 === peg$FAILED) {
7129
- if (input.substr(peg$currPos, 7) === peg$c84) {
7130
- s2 = peg$c84;
7216
+ if (input.substr(peg$currPos, 7) === peg$c85) {
7217
+ s2 = peg$c85;
7131
7218
  peg$currPos += 7;
7132
7219
  }
7133
7220
  else {
7134
7221
  s2 = peg$FAILED;
7135
7222
  if (peg$silentFails === 0) {
7136
- peg$fail(peg$e100);
7223
+ peg$fail(peg$e101);
7137
7224
  }
7138
7225
  }
7139
7226
  }
@@ -7205,7 +7292,7 @@ function peg$parse(input, options) {
7205
7292
  }
7206
7293
  s2 = input.substring(s2, peg$currPos);
7207
7294
  peg$savedPos = s0;
7208
- s0 = peg$f69(s1, s2);
7295
+ s0 = peg$f71(s1, s2);
7209
7296
  }
7210
7297
  else {
7211
7298
  peg$currPos = s0;
@@ -7222,40 +7309,40 @@ function peg$parse(input, options) {
7222
7309
  else {
7223
7310
  s0 = peg$FAILED;
7224
7311
  if (peg$silentFails === 0) {
7225
- peg$fail(peg$e101);
7312
+ peg$fail(peg$e102);
7226
7313
  }
7227
7314
  }
7228
7315
  if (s0 === peg$FAILED) {
7229
7316
  if (input.charCodeAt(peg$currPos) === 126) {
7230
- s0 = peg$c85;
7317
+ s0 = peg$c86;
7231
7318
  peg$currPos++;
7232
7319
  }
7233
7320
  else {
7234
7321
  s0 = peg$FAILED;
7235
7322
  if (peg$silentFails === 0) {
7236
- peg$fail(peg$e102);
7323
+ peg$fail(peg$e103);
7237
7324
  }
7238
7325
  }
7239
7326
  if (s0 === peg$FAILED) {
7240
7327
  if (input.charCodeAt(peg$currPos) === 94) {
7241
- s0 = peg$c86;
7328
+ s0 = peg$c87;
7242
7329
  peg$currPos++;
7243
7330
  }
7244
7331
  else {
7245
7332
  s0 = peg$FAILED;
7246
7333
  if (peg$silentFails === 0) {
7247
- peg$fail(peg$e103);
7334
+ peg$fail(peg$e104);
7248
7335
  }
7249
7336
  }
7250
7337
  if (s0 === peg$FAILED) {
7251
7338
  if (input.charCodeAt(peg$currPos) === 39) {
7252
- s0 = peg$c87;
7339
+ s0 = peg$c88;
7253
7340
  peg$currPos++;
7254
7341
  }
7255
7342
  else {
7256
7343
  s0 = peg$FAILED;
7257
7344
  if (peg$silentFails === 0) {
7258
- peg$fail(peg$e104);
7345
+ peg$fail(peg$e105);
7259
7346
  }
7260
7347
  }
7261
7348
  }