Bug 222077 - Automatically remove closing HTML element when user short-cutting no-body element
Summary: Automatically remove closing HTML element when user short-cutting no-body ele...
Status: CLOSED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 144313
  Show dependency tree
 
Reported: 2008-03-10 12:30 EDT by Nick Sandonato CLA
Modified: 2008-04-24 00:45 EDT (History)
0 users

See Also:
thatnitind: review+


Attachments
Patch to add end-tag removal in smart insert (2.57 KB, patch)
2008-03-10 12:38 EDT, Nick Sandonato CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Sandonato CLA 2008-03-10 12:30:35 EDT
It would be nice to mirror the functionality defined by Bug 123643 in the HTML editor, as well.

In essence, it is desired that by terminating a once-empty tag <elem></elem> into <elem/> should remove the old end-tag to create a property empty-element tag.
Comment 1 Nick Sandonato CLA 2008-03-10 12:38:49 EDT
Created attachment 92054 [details]
Patch to add end-tag removal in smart insert

This patch provides the capability for smart insert in HTML to clean-up unnecessary end-tags when using the empty-element tag termination.
Comment 2 Nitin Dahyabhai CLA 2008-03-25 01:50:32 EDT
Looks good, released.
Comment 3 Nick Sandonato CLA 2008-04-04 11:16:14 EDT
Closed, as verified in S-3.0M6-20080403100029.
Comment 4 David Williams CLA 2008-04-24 00:45:04 EDT
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword.