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

Preventing double nested links #5

Merged
merged 6 commits into from Feb 9, 2018

Conversation

aidantwoods
Copy link

1. Add the ability for a parsed element to enforce that the line handler not parse any (immediate) child elements of a specified type.
2. Use 1. to allow parsed Url elements to tell the line handler not to parse any child Links or Urls where they are immediate children.
I've built on the functionality of feature 1. in the previous commit to allow non nestables to be asserted indefinitely, or to a specified depth.
This commit serves to add comments detailing parts of the new functionality, and to adjust syntax preferences to match that of the surrounding document. The commit title also now reflects the most significant change made.
Removed granularity controls – elements are assumed to be non nestable indefinitely once declared.
Check if array is empty to shave some performance hits in the case than no non nestables are present.
Swap `under_scores` for `camelCasing`
@aidantwoods aidantwoods merged commit d3e107a into aidanwoods:master Feb 9, 2018
@aidantwoods aidantwoods changed the title Patch 3 Preventing double nested links Feb 9, 2018
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.

None yet

1 participant