2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-21 13:24:05 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
Nikolay Kostyurin 8cb1d495dd refactor(parser): better jsdoc, some behavior fixes, more tests
— all operations on nodes moved to `createList` function
- fixed problem with single tags with value only like `[url=value]` fixes #6
- write tests for `Token` class
- moved all node arrays to parse func, now parser supports many instances
- add jsdoc to critical parts of the parser to better understanding how it works
2019-03-04 02:24:12 +02:00
Nikolay Kostyurin b49b7435da feat(parser): better handlinf of unclosed tags like '[My unclosed and [closed] tag' 2018-09-24 00:33:27 +02:00
Nikolay Kostyurin 790825af30 feat(parser): custom open and close tags support, html tags tests (#3) 2018-09-18 23:41:52 +02:00
Nikolay Kostyurin 32a7fb51da refactor(*): convert to babel and generation to lib, es, dist folders (#2)
* refactor(*): convert to babel and generation to lib, es, dist

* chore(*): remove generated files

* fix(*): lint run command
2018-09-09 23:55:28 +02:00
Nikolay Kostyurin 88826512e7 feat(lexer): new lexer (#1) 2018-08-14 18:12:58 +02:00
Nikolay Kostyurin fdc05c0618 test(parser): add posthtml integration test 2018-07-30 22:49:55 +02:00
Nikolay Kostyurin 2eb83c1ad7 feat(parser): inconsistent tag detection test 2018-07-23 23:06:50 +02:00
Nikolay Kostyurin 4c8dbed95f feat(parser): optimize size 2018-07-14 01:50:33 +02:00
Nikolay Kostyurin 0bea22d3ca fix parse tags in brackets 2018-07-12 23:21:22 +02:00
Nikolay Kostyurin 7f400506d4 fix(parser): tokenizer error with quotemark strings 2018-07-11 23:37:51 +02:00
Nikolay Kostyurin d3e8e4a289 fix(parser): only allowed tags error 2018-07-11 01:10:43 +02:00
Nikolay Kostyurin 3c750d95c2 convert Parser class to set of function for better compression 2018-07-09 21:58:41 +02:00
Nikolay Kostyurin 12144415cc quoted bbcode params support, support escape backslash 2018-07-06 00:46:37 +02:00
Nikolay Kostyurin 3e15b54efa optimize Parser, remove while loop, add event to Tokenizer 2018-06-25 00:53:49 +02:00
Nikolay Kostyurin 4305289051 move test files and lib files to separate folders 2018-06-23 00:37:25 +02:00