|
| ctrl+enter always results in <br /> | |
| Yes, i know | |
| Giving Up | |
Joined: 19 Aug 2004 |
Posts: 8 |
|
|
|
Posted: Mon Jul 23, 2007 11:12 am |
|
|
|
|
|
Ok, ok. I can see the big picture.
But - I do not like <br />s. I really do like <br>s much, much more.
I will not insist any more. It is okay.
Well.
|
|
Joined: 10 Feb 2004 |
Posts: 93 |
|
|
|
Posted: Tue Jul 24, 2007 2:25 pm |
|
|
|
|
|
bobwilliams wrote: | RamonS wrote: | Complain to the W3C about their XHTML specification. |
What's wrong the spec? |
He was responding to Knito who had said:
Quote: | But - I do not like <br />s. I really do like <br>s much, much more. |
|
|
Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
|
Posted: Tue Jul 24, 2007 3:50 pm |
|
|
|
|
|
I'll note that you can continue to use <br> even in XHTML. Of course, you have to pair it with a </br>
That said, if you're editing an HTML document, the editor should insert <br>, not <br />, since the latter is, I believe, invalid in an HTML document (although most browsers will accept it). Unfortunately, I've not done any HTML/XHTML editing in PhpED recently (all back-end work right now), so I can't comment on what it actually does. Where's the mentioned preference?
|
|
|
| | |
Joined: 10 Feb 2004 |
Posts: 93 |
|
|
|
Posted: Tue Jul 24, 2007 3:59 pm |
|
|
|
|
|
bobwilliams wrote: | I'll note that you can continue to use <br> even in XHTML. Of course, you have to pair it with a </br>
That said, if you're editing an HTML document, the editor should insert <br>, not <br />, since the latter is, I believe, invalid in an HTML document (although most browsers will accept it). Unfortunately, I've not done any HTML/XHTML editing in PhpED recently (all back-end work right now), so I can't comment on what it actually does. Where's the mentioned preference? |
well, it all depends on your declared Doctype. I think it would EXTREMELY difficult for PhpEd to try to parse through your project and figure out where your doctype has been declared and then adjust itself to that type.
|
|
|
| | |
Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
|
Posted: Tue Jul 24, 2007 4:10 pm |
|
|
|
|
|
That's why I suggested a mode switch here:
xhtml-shortcut-inserts-t2960.html
It's not perfect since some projects can use both, but I think it would take care of the majority of situations. And if you added in support for auto-switching the mode in the presence of in-document DOCTYPEs, I think most situations would be handled.
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
| |