#23083 closed enhancement (fixed)
Tag balancing for text widgets
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
Description
Based on inspecting the code it looks like tag balancing is not applied to th content of the text widget.
IMO people are more likely to produce broken HTML when adding HTML in a text widget then when writing post, but tag balancing is done only for posts and comments (in which HTML is rarely used).
Attachments (3)
Change History (11)
#2
follow-up:
↓ 3
@
12 years ago
- Cc mdhansen@… added
The patch only changes the way the code is displayed on the front. It does not alter the html input. There may need to be a similar js implementation.
#3
in reply to:
↑ 2
@
12 years ago
@MikeHansenMe, isn't it better to hook balanceTags to get the use_balanceTags option into play in case there are people that don't want balancing?
#4
@
12 years ago
@mark-k I was thinking mostly of people copying code snippets without knowledge of the code. Perhaps we would be doing them a favor but in the end I think you are right. It should be optional.
adds tag balancing to text widget