Ticket #5577 (closed defect (bug): fixed)
Switching between HTML and visiual views destroys some table markup
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | JS has-patch commit |
| Cc: |
Description
To reproduce:
- Enter the following into HTML view (formerly known as "Code view").
<table border="1" width="100%"> <tr> <th align="center">Centered</th> <th>Heading 1</th> <th>Heading 2</th> </tr> <tr bgcolor="#cccccc"> <td><b>Bold</b></td> <td>Foo</td> <td>Bar</td> </tr> </table>
- Switch to Visual view.
- Switch back to HTML view.
- Notice that the second TR is gone.
This is caused by a bad regex in the JS that converts between the two views.
Patch attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

