I've noticed this on both my install and the demo provided here at gossamer. If I edit a .php file, there are extra blank spaces added at the end of the file when I open it. I have to be careful to always go and delete them before saving the file, or it causes problems (I'm using a PostNuke site which is sensitive to extra spaces at the end of files). Any idea why this happens or how to stop it? The spaces appear to be added when the file is opened for editing, because if I delete them and save it's fine.
Nov 25, 2002, 10:03 AM
Staff / Moderator (733 posts)
Nov 25, 2002, 10:03 AM
Post #2 of 3
Views: 2956
You can get rid of it by modifing the file_edior.html like:
<textarea name="content" cols="<%if cols%><%cols%><%else%>100<%endif%>" rows="<%if rows%><%rows%><%else%>20<%endif%>" wrap='off'><%if content%><%content%><%endif%></textarea>
Instead of:
<textarea name="content" cols="<%if cols%><%cols%><%else%>100<%endif%>" rows="<%if rows%><%rows%><%else%>20<%endif%>" wrap='off'><%if content%><%content%><%endif%>
</textarea>
TheStone.
B.
<textarea name="content" cols="<%if cols%><%cols%><%else%>100<%endif%>" rows="<%if rows%><%rows%><%else%>20<%endif%>" wrap='off'><%if content%><%content%><%endif%></textarea>
Instead of:
<textarea name="content" cols="<%if cols%><%cols%><%else%>100<%endif%>" rows="<%if rows%><%rows%><%else%>20<%endif%>" wrap='off'><%if content%><%content%><%endif%>
</textarea>
TheStone.
B.