homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
FrontPage 2003 Alters Code after Include Statements - a Solution!
How to prevent FP 2003 messing with your includes
Siteman




msg:3808678
 4:50 pm on Dec 16, 2008 (gmt 0)

Some time ago this thread discussed how to prevent FP 2003 from messing with your code when you are using include statements (see [webmasterworld.com...]

Essentially, FP 2003 changes your nicely structured includes from:

<!--webbot bot="include" u-include="file1.htm" tag="body" -->
<!--webbot bot="include" u-include="file2.htm" tag="body" -->
<!--webbot bot="include" u-include="file3.htm" tag="body" -->

... to this mess:

<!--webbot bot="include" u-include="file1.htm" tag="body" --><!--webbot bot="include" u-include="file2.htm" tag="body" --><!--webbot bot="include" u-include="file3.htm" tag="body" -->

There seems to be an easy fix: Delete the tag="body" part of the include statement, and FP leaves your code alone... eg:

<!--webbot bot="include" u-include="file1.htm" -->
<!--webbot bot="include" u-include="file2.htm" -->
<!--webbot bot="include" u-include="file3.htm" -->

Give it a try!

S.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved