This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 56723

Summary: Strip HTML formatting tags after importing pages designed in external tool
Product: javaee Reporter: brviking <brviking>
Component: JSPAssignee: Petr Pisl <ppisl>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description brviking 2005-03-21 11:22:47 UTC
Resume: I would like to remove formatting tags added automatically by external
tools (like Quanta Plus, NVU or DreamWeaver) from HTML files.

Motivation: Since I can't visually design JSP pages in NetBeans, I do it using
external tools. Some tools add a lot of <font>, <div>, <b>, <strong> and so on
to generated HTML, where I do prefer using stylesheets. Other tools add a mix of
formatting tags and inline stylesheets.

Proposition: I think NetBeans could have a refactoring tool that could transform
<font>, <b> and so on into stylesheets, or just strip them out of the code.
Optionally the developer could choose if what formatting tags he want to strips,
and even if he want to stip inline styles.
The ideal tool will be capable to move formatting tags (<font>, <b>, <i> and so
on) into inline stylesheets, and the move inline styles into <styles type...>
header section, or just drop them out.

Thanks,

Richter
Comment 1 Martin Balin 2016-07-07 08:53:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss