http://nightly.ckeditor.com/4990/_samples/api.html
<h2>Test</h2><p>This is some <a name="anchor_good_element"></a>HTML</p>
http://nightly.ckeditor.com/4990/_samples/api.html
<h2>Test</h2><p>This is some <a name="anchor_bad_element"/>HTML</p> <h2>Test2</h2><p>This is some HTML</p>

Re: Error when the text has an selfclose element - htmlparser?
Re: Error when the text has an selfclose element - htmlparser?
At core/htmlparser/element.js change it:
by
On the ckeditor.js (the "obfuscated" on the root directory) change it:
by
I tried it and it works well.
I continue testing this and other things.