#4403 closed defect (bug) (fixed)
Tags duplicated when editing comments
| Reported by: | ryan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2.1 |
| Component: | Administration | Version: | 2.2.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Create a comment with the text "test".
Edit the comment, you will see this in the textarea.
<p>test</p>
Click "Edit Comment" to save the comment. Don't make any changes.
Edit it again. The textarea now has this:
<p><p>test</p></p>
Save and edit a third time and you get:
<p><p></p><p>test</p></p>
Change History (8)
#1
@
19 years ago
- Summary autop duplicates tags when editing comments → Tags duplicated when editing comments
#2
@
19 years ago
Running the comment_text filter before calling format_to_edit in get_comment_to_edit() fixes it. Calling the comment_text filter when editing a comment is odd. We typically use such filters only when displaying the text on the front page, not when editing. However, we've been running comment_text on comments while editing for awhile now, so I'll leave it.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I think this is fallout from #4333. Working on a fix.