Summary: | [formatter] Formatting of html in javadoc comments doesn't work with style attributes | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Brett Mising name <brett.graves> | ||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | david_audel | ||||||
Version: | 3.4.1 | ||||||||
Target Milestone: | 3.5 M6 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Brett Mising name
2009-01-05 19:19:49 EST
That still happens using 3.5M5 and this is a regression comparing 3.3 formatter. The formatter allows only a few tag to have attributes (currently 'table', 'tr' and 'td') although, looking at HTML 4.0.1 specifications, all may have some (e.g. id, class, lang, title, style, onclick, etc...). So, I think the best thing to do is to remove the special tags introduced while fixing bug 229107 and accept that tag name may not be always followed by the closing '>' but may have other tokens before... Created attachment 126535 [details]
Proposed patch
Created attachment 126874 [details]
Better patch
This patch fixes some side effects of initial patch discovered while running formatter massive tests...
Released for 3.5M6 in HEAD stream. Verified for 3.5M6 using I20090309-0100. |