-
Notifications
You must be signed in to change notification settings - Fork 17
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
Block elements inside list items throws exception #3
Comments
Good day I have a similar issue which I think relates to this item. The following markdown causes an exception:
Exception details as follows: |
@benfoster Just want to find out if there will be a fix for this soon. I have been holding out for a fix on this issue as I like really this library - this is really good stuff! However, I can't wait much longer (this is holding back delivery of a project on my side). If not, it's 100% OK (I understand we are all busy and this work is basically charity)... But still I thought it best to ask before implementing an alternative solution. |
@benfoster Hi Ben Going over the stacktrace, I suspect the root cause of the null reference exception might be found at Migradoc.Extensions.Html.HtmlConverter in the ConvertHtml method. I am not sure how to fix it, though. Regards, |
Hi Ben, The issue is not actually caused by line breaks as I'd originally thought. The way in which we convert and To fix I think we'll need to render any container elements like list items as sections but this requires further thought. I'll hopefully get time to look into this in the next few weeks. |
Thanks for the feedback. I'll give it some thought too. |
Hi Ben So, I see there is actually a pending pull request which partly solves / provides a workaround for this problem. I downloaded and compiled it, and it seems to work, at least for nested Adding support for nested ordered and unordered lists #5 I hope this can be of some help to you. Cheers [UPDATE] |
No description provided.
The text was updated successfully, but these errors were encountered: