im working with a cms made a few years ago in asp/vbscript (old asp) and until we release out dot net cms (should be soon) we are stuck with this one but at the moment im trying to make it a bit more w3c compliant ... currently our cms is IE only ... in the page editor
you can switch back and forth from Preview state and html mode and the editor use innerHTML to swap mode but that innerhtml makes all the tags in cap and makes all <LI>...</LI>
tags like that <LI>...
no closing tags since it was optional ... i can grab all html tags and attribute keys using regex and swap them to lower case but i was wondering if anyone know an easier way to do so... i tried adding strict mode doctype unfortunately since the code of the editor is really old the whole editor jsut fall apart ...
hopefully we are gonna release our new cms soon but its gonna be a while until we transfer all our sites to the new cms so until then im trying to improve our old code
is there any equivalent to innerHtml that would make the code more w3c Compliant AKA keep the closing tag to my <li></li>
so i dont start parsing my ccode using regex and replace
?
ty