Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T )
| From: | Ryan A | Date: | Wed, 28 Jun 2006 09:29:45 +0000 |
| Subject: | Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T ) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-238768@lists.php.net to get a copy of this message | ||
Hi,
I have searched for this answer on google and even
written on a few forums asking for an answer, am just
trying my luck here as I am sure quite a few list
users use DreamWeaver.
By default dreamweaver outputs tags like this:
<img src="foo.gif" class="blah">
As you can see from the above the values are always
enclosed in double quotes by default, how can i change
the default to be single quotes?
eg:
<img src='foo.gif' class='blah'>
I am tired of everytime copying it into notepad and
then running a replace all before inserting it into
the db.
I am doing this as I am putting the entire content of
a html page into the DB and the double quotes are
screwing things up for me.
I have thought of doing a str_replace() for the double
quotes but thats extra processing which can be a
headache if its a large page.
Or if I am barking up the wrong tree and this is not
possible (changing DWs default behavior, just tell me
and will stop searching.
Thanks!
Ryan
------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com