| Summary: | FILESAVE: Paragraph class inside table cell is stripped during export to XHTML | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | gazofnaz31 |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | gazofnaz31, jmadero.dev |
| Priority: | medium | ||
| Version: | 4.1.0.4 release | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| Whiteboard: | BSA | ||
| Crash report or crash signature: | Regression By: | ||
Just tested with 4.4 master and it looks resolved. I made a new style called "DUMMY" (I know clever ;) ). Below is a snippet of the xhtml: <p class="Table_20_Contents"> </p></td><td style="text-align:left;width:2.3083in; " class="Table1_A1"><p class="DUMMY">THIS IS A TEST</p></td> As you can see "DUMMY" is indeed set in the paragraph/table :) Marking as WFM - if you can check again with preferably at least 4.3 rc that would be nice. If it's still broken in 4.3 rc I'll see if I can get a patch backported but hopefully it's pushed already into that branch. If you can still reproduce in 4.3 rc please set the bug back to UNCONFIRMED and attach an easy document that we can just easily export as xhtml vs recreating a new one every time. Thanks! |
Problem description: Steps to reproduce: 1. Create a custom paragraph style, give it a unique name 2. Create a table 3. Place some text inside one of the table cells 4. Assign the custom paragraph style to that text 5. Export to XHTML Current behavior: (4.1.1.2) <td style="text-align:left;width:4.249cm; " class="Table2_A1"> <p class="P5">Text ("Table Body Bold" style)</p> </td> Note: <p class="P5"> Expected behavior: (4.0.3.3) <td style="text-align:left;width:4.346cm; " class="Table2_A1"> <p class="Table_20_Body_20_Bold">Text ("Table Body Bold" style)</p> </td> Note: <p class="Table_20_Body_20_Bold"> Operating System: Debian Version: 4.1.0.4 release