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 166667

Summary: Pasting HTML code as text
Product: web Reporter: testerro <testerro>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description testerro 2009-06-06 12:13:14 UTC
There should be a way to paste HTML code into the Netbeans editor as text, ie. with automatic replacements of characters
like <, >, & and " to their corresponding HTML entities:

<i>"This is an example."</i>

->

&lt;i&gt;&quot;It is an example.&quot;&lt;/i&gt;

Having to do such conversions by hand is unfeasible for larger amounts of text and requires using an external editor for
larger amounts of text.
Comment 1 Marek Fukala 2013-01-02 12:09:28 UTC
I believe such usecase could be covered by some "convert to entities" action.

*** This bug has been marked as a duplicate of bug 161493 ***