This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Conversation
Contributor
|
This looks ok for me 👍 Maybe you could add a test with a new line after the "&" character, and check that it works as expected. Thanks for including me in this discussion. 😃 |
Contributor
Author
|
Sorry for the late response @DavidePastore. Can you elaborate on what the expected behavior should be, and would you like to see a test for both text and attribute entities, or just text? |
Contributor
|
LGTM |
Contributor
|
@50Wliu Sorry for the delay. I'd like to see a test for both text and attribute entities (for example in the |
Contributor
Author
|
⛵ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements
Description of the Change
Redo of #98, this time taking into account that entities in attributes behave differently. I tried to follow the spec as closely as possible.
Alternate Designs
Benefits
Realize you're writing an entity before you finish doing so. This also benefits autocomplete-html.
Possible Drawbacks
There may still be room for regressions that I didn't take into account.
Applicable Issues
See #98, #141, #142.
/cc @DavidePastore, @JonathanWolfe - see anything that could potentially break with this version?