Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » dangerous HTML formatting
dangerous HTML formatting [message #205481] Fri, 07 December 2007 13:49 Go to next message
Andrew Gaydenko is currently offline Andrew Gaydenko
Messages: 13
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 15:14 Go to previous message
Eclipse User
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: Fri Jul 25 13:45:30 EDT 2014

Powered by FUDForum. Page generated in 0.10360 seconds