Aaaargh! FrontPage is taking over formatting my ASP script...

  • Thread starter Thread starter mj.redfox.mj
  • Start date Start date
M

mj.redfox.mj

Is there any way of stopping FrontPage from turning this...


<%' ============ FOOTER SECTION ============ %>
<%' ======== See webs/template/readme.txt ======== %>


....into this...

<%' ============ FOOTER SECTION ============ %><%' ======== See
webs/template/readme.txt ======== %>


....when I save it (and many similar occurrences)? Why on earth does it
have to remove the line break between the two lines of vbScipt, which
is very much there for a reason?

I would be very grateful for any advice as this is driving me nuts.
 
Is there any way of stopping FrontPage from turning this...


<%' ============ FOOTER SECTION ============ %>
<%' ======== See webs/template/readme.txt ======== %>


...into this...

<%' ============ FOOTER SECTION ============ %><%' ======== See
webs/template/readme.txt ======== %>

Change it to this and it'll stay put!! The <br> is a return.
<%' ============ FOOTER SECTION ============ %><br>
<%' ======== See webs/template/readme.txt ======== %>

Tom J
 
FP will leave it alone after you have saved it in code view that way
- until you do a reformat html (FP does not respect script formatting)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Is there any way of stopping FrontPage from turning this...
|
|
| <%' ============ FOOTER SECTION ============ %>
| <%' ======== See webs/template/readme.txt ======== %>
|
|
| ...into this...
|
| <%' ============ FOOTER SECTION ============ %><%' ======== See
| webs/template/readme.txt ======== %>
|
|
| ...when I save it (and many similar occurrences)? Why on earth does it
| have to remove the line break between the two lines of vbScipt, which
| is very much there for a reason?
|
| I would be very grateful for any advice as this is driving me nuts.
|
 
<%' ============ FOOTER SECTION ============ %>
<%' ======== See webs/template/readme.txt ======== %>

Change the above to:

<%
' ============ FOOTER SECTION ============
' ======== See webs/template/readme.txt ========
%>

It shouldn't reformat those two lines and it will make the server
side processing a little easier on the server. Why you'd only
want comments for the server side stuff I can only imagine.
Hopefully you left something out on purpose.

Good luck.

Jim Carlock
Post replies to the newsgroup.
 
Back
Top