Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jslate73
Post subject: autoformat / newline before link  PostPosted: Aug 04, 2008 - 09:44 PM



Joined: Jun 26, 2008
Posts: 11

It seems to me that auto formatting for HTML misbehaves by inserting a newline before an anchor tag. Given the following code:

Code:

testingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtestingtesting<a href="foo">foo</a>


Running "Source > Format" will insert a newline before the opening anchor tag. The result is that the output, when viewed in a web browser, is different after the formatting than it is before formatting, in that there is a space before the word "foo."

Is there any way to disable this behavior? I find it really annoying because we often have links in our pages that look like this: [foo]. If the formatter decides to put a newline before the anchor tag, it ends up like this: [ foo]

Thanks,
Jonathan
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: autoformat / newline before link  PostPosted: Aug 05, 2008 - 04:31 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Jonathan,
I can see why your facing an issue here but unfortunately this behavior cannot be disabled. The only workaround is to avoid using the formatter. Sorry about that.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
jslate73
Post subject: RE: autoformat / newline before link  PostPosted: Aug 05, 2008 - 07:27 PM



Joined: Jun 26, 2008
Posts: 11

That's too bad. Maybe I'll make a jsp tag for a link surrounded by square brackets. Or figure out how to submit a bug. Or both. :) Anyway, thanks for the response.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: autoformat / newline before link  PostPosted: Aug 13, 2008 - 06:44 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Sorry for the inconvenience.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits