Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » dangerous HTML formatting
dangerous HTML formatting [message #205481] Fri, 07 December 2007 18:49 Go to next message
Andrew Gaydenko is currently offline Andrew GaydenkoFriend
Messages: 14
Registered: July 2009
Junior Member
If, say, I have an element 'style' attribute

<input style="$someMacro;" ... />

HTML formatter replaces the 'style' attribute value with *empty* string. Is
there a way to prevent such brave formatter behavior?

P.S. I see, it isn't a good practice to use 'style' attribute at all. But at
some testing/development cases/phases it may be useful.
Re: dangerous HTML formatting [message #206093 is a reply to message #205481] Thu, 20 December 2007 20:14 Go to previous message
Eclipse UserFriend
Originally posted by: wuamy.ca.ibm.com

I believe this is https://bugs.eclipse.org/bugs/show_bug.cgi?id=200576
The problem has to do with formatting style attribute values that are
unknown to the css formatter. Unfortunately, I'm not sure if there's a
way to work around this behaviour.

Andrew Gaydenko wrote:

> If, say, I have an element 'style' attribute

> <input style="$someMacro;" ... />

> HTML formatter replaces the 'style' attribute value with *empty* string. Is
> there a way to prevent such brave formatter behavior?

> P.S. I see, it isn't a good practice to use 'style' attribute at all. But at
> some testing/development cases/phases it may be useful.
Previous Topic:Error in Eclipse jsp file
Next Topic:Best Practice to manage J2EE projects in eclipse
Goto Forum:
  


Current Time: Thu Apr 18 03:52:42 GMT 2024

Powered by FUDForum. Page generated in 0.01594 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top