Oxygen closes empty tags in Author mode for XHTML files
Posted: Wed Feb 24, 2010 11:06 pm
We have XHTML files (.html) we want to edit in Oxygen since the Author view rendering and editing mode is quite good now.
However, we can't allow our code to be rewritten. In particular, we have empty <div> and <input> tags that can't be self-closed or the HTML does not function correctly. (That is, <div></div> must be left as such.)
Unfortunately, ANY change to one of these files while in Author view will close these tags. (<div></div> becomes <div/>.) What is the preference setting, Doctype, or namespace in Oxygen Editor edition that will not rewrite any of our markup?
This is the only thing that prevents us from using Oxygen as our HTML editor instead of Dreamweaver.
Here is the doctype and namespace declaration we are using:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
However, we can't allow our code to be rewritten. In particular, we have empty <div> and <input> tags that can't be self-closed or the HTML does not function correctly. (That is, <div></div> must be left as such.)
Unfortunately, ANY change to one of these files while in Author view will close these tags. (<div></div> becomes <div/>.) What is the preference setting, Doctype, or namespace in Oxygen Editor edition that will not rewrite any of our markup?
This is the only thing that prevents us from using Oxygen as our HTML editor instead of Dreamweaver.
Here is the doctype and namespace declaration we are using:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">