-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Formatting in lists via addHtml #1215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@rkorebrits Indeed, that's a known issue with lists, the formatting is currently lost. |
Thanks @troosan |
I do not know your release policy but wouldn't this be a reason for a new release 0.13.1? People are loosing data quite subtly (at least if they use phpword as a kind of export). |
0.14 will be release soon. I haven't had the time to work on parsing the list items styling. |
I'd love to spend time on this great project, but unfortunately I won't be able to in the foreseeable future. Thanks @troosan |
Good news that 0.14 is near. I hope to find the time to work on a patch but I don't really understand yet what happens during the recursive parsing and the exact need for an extra Html::parseListItem() |
fixed with #1239 |
I can confirm that your fix works with our data, Thank you! |
Also confimed on dev-develop branch, not on 0.14. Thanks! |
We are having a few issues with formatting in lists. After seeing this issue: #945 I updated composer to take from the
develop
branch, but we are still not able to get formatting in lists.I don't know how the documents are actually built up and maybe it is not possible to have formatting in lists, but as the documents otherwise are able to be styled perfectly and it's possible in Word to style lists, I would assume that is would be doable?
Expected Behavior
Ideally, lists with formatting (e.g.
<strong>
,<em>
,<br>
, etc.) would also be displayed like this in the Word output. Like this:and I am not
Current Behavior
On the develop branch all formatting is stripped. On the 0.13 branch, formatted copy is removed completely.
Context
The text was updated successfully, but these errors were encountered: