Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(parse): allow tags to be escaped with backslash #17

Merged
merged 3 commits into from
Jun 17, 2019
Merged

feat(parse): allow tags to be escaped with backslash #17

merged 3 commits into from
Jun 17, 2019

Conversation

davidferguson
Copy link
Contributor

adds additional option enableEscapeTags to parse and createLexer that when true will parse openTag and closeTag as WORD (rather than TAG) when preceeded with backslash

fixes #16

adds additional option `enableEscapeTags` to `parse` and `createLexer` that
when true will parse openTag and closeTag as WORD (rather than TAG) when
preceeded with backslash
@codecov-io
Copy link

Codecov Report

Merging #17 into master will increase coverage by 0.48%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage   93.36%   93.84%   +0.48%     
==========================================
  Files          15       15              
  Lines         467      471       +4     
  Branches       99      100       +1     
==========================================
+ Hits          436      442       +6     
+ Misses         24       23       -1     
+ Partials        7        6       -1
Impacted Files Coverage Δ
packages/bbob-parser/src/parse.js 96.2% <ø> (+2.53%) ⬆️
packages/bbob-parser/src/lexer.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7e25c45...4bcac7b. Read the comment docs.

@JiLiZART JiLiZART added this to the v2.5.0 milestone Jun 17, 2019
@JiLiZART
Copy link
Owner

Wow! Looks good!

@JiLiZART JiLiZART merged commit c4f78c1 into JiLiZART:master Jun 17, 2019
@davidferguson
Copy link
Contributor Author

Thanks for merging so quickly! Any idea how long (roughly) it'll take to publish a release with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Any way to escape bbcode tags?
3 participants