WordPresse deleting html code
-
Hello there,
I’m working with WordPress 2.3 and I’m having an issue about WordPress deleting some html code of my pages. By explaining the workaround of what I do, I would like to know if any of you encountered this problem and/or is able to give me a solution.
- Go to your admin to create either a post or a page
- Enter the following code in the code section of the editor:
<table> <caption>Test Caption</caption> <colgroup><col width="25%"><col width="75%"></colgroup> <tr class="odd"> <td>Cell Top Left</td> <td>Cell Top Right</td> </tr> <tr> <td>Middle Top Left</td> <td>Middle Top Right</td> </tr> <tr class="odd"> <td>Middle Bottom Left</td> <td>Middle Bottom Right</td> </tr> <tr> <td>Cell Bottom Left</td> <td>Cell Bottom Right</td> </tr> </table>
- Switch to the Visual section of the editor
- Now switch back to the code section of the editor and you should see that some html code is missing. For me the code is now:
<table> <tr class="odd"> <td>Cell Top Left</td> <td>Cell Top Right</td> </tr> <tr> <td>Middle Top Left</td> <td>Middle Top Right</td> </tr> <tr> <td>Cell Bottom Left</td> <td>Cell Bottom Right</td> </tr> </table>
Missing the colgroup, the caption and a row
Any help about this will be greatly appreciated?
Thanks
– ET
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘WordPresse deleting html code’ is closed to new replies.