Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Test and fix for #2464 #2465

Merged
merged 2 commits into from
Jan 4, 2013
Merged

Test and fix for #2464 #2465

merged 2 commits into from
Jan 4, 2013

Conversation

jbalsas
Copy link
Contributor

@jbalsas jbalsas commented Jan 2, 2013

This is a possible fix for the issue detailed in #2464. It also includes the test for it.

This feels more like a workaround than a real fix, but may be good enough if codemirror token behavior is not to be changed.

@ghost ghost assigned RaymondLim Jan 3, 2013
setContentAndUpdatePos(pos,
["<html>", "<body>"],
"<div ", "",
["<div id='foo' class='clazz'>", "</body>", "</html>"]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add "</div>", before "</body>"?

@RaymondLim
Copy link
Contributor

Done initial review. Just one minor issue in unit test -- need to add the closing div tag to make it a valid html.

@jbalsas
Copy link
Contributor Author

jbalsas commented Jan 4, 2013

@RaymondLim Fixed!

RaymondLim added a commit that referenced this pull request Jan 4, 2013
@RaymondLim RaymondLim merged commit b9873b3 into adobe:master Jan 4, 2013
@jbalsas jbalsas deleted the fix-2464 branch January 4, 2013 16:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants