You are here

NVU smashing all my code and adding unwanted code

7 posts / 0 new
Last post
Anonymous (not verified)
NVU smashing all my code and adding unwanted code

Does anyone know of a way to make NVU so it doesnt keep smashing my code and wrapping the lines in odd places, and also adding unwanted code to the beginning and end? I can't find a way to stop it Sad

Ashes for Tears
Offline
Last seen: 16 years 6 months ago
Joined: 2006-01-11 08:41
What exactly is it adding? I

What exactly is it adding? I haven't really noticed anything, but I may just be remiss....

ASFx (not verified)
Well, right when i open it

Well, right when i open it and look at the source, it already added this:

And even if i delete it from the source, then look at the "normal" tab, then look back at the source tab, it forced all that code back in again.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Use this

< >
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

ASFx (not verified)
I don't think html is

I don't think html is showing correctly here Blum There is actually a way to make NVU stop adding unwanted code automatically?

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Like I said

type the stuff I told you to or don`t use < > around it. Check the options on N|VU.
I`m guessing it adds <meta ... />
Also what did you originally design it with?
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

sime
Offline
Last seen: 17 years 6 months ago
Joined: 2006-10-24 12:13
I'm having trouble too. I'd

I'm having trouble too. I'd love to be able to turn off a few things. So, as a simple example, I have this as index.php:

<?php include('includes/header.php'); ?>
<!-- START MAIN CONTENT -->
<h2>Some title</h2>
<p> The only text I want the user to edit</p>
<!-- END MAIN CONTENT -->
<?php include('includes/footer.php'); ?>

So, NVU opens this ok, and it looks great in the WYSIWYG, but NVU then adds doctype, html and body tags around my code. So, ya, I'd love to see the option to switch this off in future versions. Is there any sort of bounty system in place for these apps?

Topic locked