#6820 closed defect (bug) (fixed)
Invalid HTML in message form
| Reported by: | tfrommen | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | Messages | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
When you choose someone to send a message to, a <li> tag for the according user will be inserted into the markup. The problem here is that this leads to nested <li> tags without a new list tag. For instance like so:
<ul class="first acfb-holder"> <li> <li class="friend-tab" id="un-12345"> ... </li> <input type="text" id="send-to-input" ...> </li> </ul>
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the ticket, @tfrommen. This autocomplete library is kinda odd: it expects the
<input>field to be inside of an<li>in the same<ul>as the clicked results. There's an error in the JS that causes clicked results to be put inside of the input's list item, rather than alongside.