Skip to content

Noescape#20

Open
cyisfor wants to merge 31 commits into
eBookingServices:masterfrom
cyisfor:noescape
Open

Noescape#20
cyisfor wants to merge 31 commits into
eBookingServices:masterfrom
cyisfor:noescape

Conversation

@cyisfor
Copy link
Copy Markdown

@cyisfor cyisfor commented Mar 30, 2016

This is what I was thinking as far as separating out entity escaping logic from the DOM parsing. It works...... a lot better.

user added 30 commits March 25, 2016 07:35
Leftover bad links to detached/moved nodes. A few times I think a link back was needed, to remove it from the list. Some last/first child nodes not getting updated.
But independent of the document structure.
insertAfter was creating cycles, by not setting next.prev to prev!

A better solution would be a setLink function, that if set to next, set the destination's next.prev.next to this, set the destination's next.prev to this, etc, to make sure no dangling links to old places were around. But... this should work...?
not firstChild, therefore prev_ !is null, right? hmph...
Tired of lonely text nodes with just "\n" in them.
could probably just ignore the asserts in detachFast, instead.
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.

1 participant