estmatic
Posts: 6
|
| Posted: 07/25/2007, 1:47 PM |
|
Is there a way to completely disable CodeCharge's HTML reformatting feature?
I have "Apply formatting" under HTML Formatting in Options unchecked, but it still makes a mess of the html if the page goes to design view. I never use that view because I prefer just editing the html, but if I accidentally switch to design (or sometimes that's the default when opening up a page) CodeCharge messes with the html. It doesn't cause permanent "damage" as I can always close the page and reopen it without the changes, but it's kind of annoying when it happens.
|
 |
 |
TheunisP
Posts: 342
|
| Posted: 08/03/2007, 8:13 AM |
|
this SHOULD have been possible in this revision (since it should only a flag that needs to be set) - have a look at the LOOOONG list of people that asked for it - the new features don't make up for the amount of time we spent correcting 'corrected' HTML code
e.g. my version of CCS editor doesn't seem to believe tha LI tags should be closed (except the last one), it goes dotty with DIVs so out the window with most style sheet tabs etc. the list goes on and on
|
 |
 |
estmatic
Posts: 6
|
| Posted: 08/03/2007, 11:27 AM |
|
The new 3.2 version fixed the problem I was having. I haven't tried making changes in Design View to test how it does with the html, but at least simply switching to that view doesn't trigger the html regeneration anymore.
I remember having that problem with the LI tags (one of the reasons I stopped using design view). You might try the new XHTML standards mode in your projects to see if it fixes that. I couldn't find a way to "enable" that in existing projects through the GUI but you can just modify the <project>.ccs file in a text editor to do the same thing. Just create a new project with that setting enabled and then compare the little bits that changed. Just doing that fixed a lot of the little HTML annoyances I was having.
Here's the part I changed:
<Site ... htmlTemplateType="xHTML" isSection508="False" ...>
|
 |
 |
TheunisP
Posts: 342
|
| Posted: 08/03/2007, 8:37 PM |
|
estmatic, no the dreaded HTML tide engine is alive and kicking the moment I load a page and it go anywhere near Design View, mind you I haven't even typed in anything, the dreaded asteriks appears - telling me something that worked has now been 'fixed'
on the second part mmm, not with you - on what it would fix - but will have a look at what is hiding in that file
just to cont. - I think CCS' editor is based on the GPL (is it?) Tidy HTML editor - which means it should have settings saved somewhere e.g. registry, ini or wherever - I actually once started hunting for it - but got sidetracked
maybe we should ask the people of CCSTools to have a look at it, and if they can hack it for us
|
 |
 |
|