A default installation of the YUI Editor module produces invalid XHTML, including <A> tags.

A quick search of the YUI issue queue shows a potential solution to this problem.

I have tested adding:

markup: 'xhtml'

(as suggested by the YUI bug report) to yui_editor.js which produces the desired behavior (valid XHTML).

I haven't included a path, since I thought it would be desirable to have this be a configurable setting. My javascript skills are lacking, and I wasn't sure how to add this variable setting.

If desired, I'll happily upload my (simple) patch.

Comments

jeffcd’s picture

This appears to have been resolved with 2.5.x. Please update your YUI settings accordingly.

jeffcd’s picture

Status: Active » Closed (fixed)

This appears to have been resolved with 2.5.x. Please update your YUI settings accordingly.