Document/Source/Format and Indent
Posted: Thu Apr 28, 2011 7:40 pm
I load up a well formed xhtml or html document
I select Document/Source/Format and Indent or press Ctl-Shft-P
The previous existing closing <meta....</meta> and <link>..</link> tags are gone???
Is there a setting somewhere to tell Oxygen to not remove closing tags when it reformats a html or xhtml file?
here is a sample file
I select Document/Source/Format and Indent or press Ctl-Shft-P
The previous existing closing <meta....</meta> and <link>..</link> tags are gone???
Is there a setting somewhere to tell Oxygen to not remove closing tags when it reformats a html or xhtml file?
here is a sample file
Code: Select all
<?xml version="1.0" encoding="us-ascii"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><title>Science and Health with Key to the Scriptures Science and Health</title><link rel="stylesheet" href="csps.css" type="text/css" charset="utf-8"></link><link rel="stylesheet" href="epub.css" type="text/css" charset="utf-8"></link></head><body><div id="book-content"><div class="part"><h1><span class="small-caps">Science and Health </span></h1></div></div></body></html>