How to make ALL line breaks <br /> automatically?

When I hit shift+enter it adds a line breaks (<br /> if document is XHTML, otherwise <br>)

How can I make it so that ALL the line breaks that are created when using shift+enter are automatically <br />?

Thanks!
ChopianissimaAsked:
Who is Participating?
 
radnorConnect With a Mentor Commented:
Hello!

Look here: C:\Program Files\Macromedia\Dreamweaver MX\Configuration\Objects\Characters and edit the file called Line Break.htm with NOTEPAD.

function objectTag() {
  // Return the html tag that should be inserted
  return "<BR />";
}


I think this will do what you want.

I created a basic HTML page, HTML template and XML pages with "<br />" being inserted for the shift + enter.


Radnor
0
 
Ryan ChongCommented:
You can't change what is already defined as Rules in Dreamweaver. My suggestion is try do a search for all "<br>" and then go replace it with "<br />"

regards
0
 
ChopianissimaAuthor Commented:
Wowzers, thanks a bunch!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.