You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
If a note item contains the following content then it cannot be previewed in Inventory Tab:
0. Item 1
1. Item 2
In Debug mode one can observer such content caused PreviewMarkdown = ActiveItem.Content line to throw an ArgumentException from Windows Source due to data binding claiming "0 is not a valid StartIndex". This issue is related to how Markdig handles transforming number lists to FlowDocument elements.
The text was updated successfully, but these errors were encountered:
chaojian-zhang
changed the title
[Desktop][Bug] Note item cannot preview if content contains lists that have starting number as 0
[Desktop][Bug] Cannot preview Note item if content contains lists that have starting number as 0Sep 7, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description:
If a note item contains the following content then it cannot be previewed in Inventory Tab:
In Debug mode one can observer such content caused
PreviewMarkdown = ActiveItem.Content
line to throw anArgumentException
from Windows Source due to data binding claiming "0 is not a valid StartIndex". This issue is related to how Markdig handles transforming number lists to FlowDocument elements.The issue is mentioned here.
The text was updated successfully, but these errors were encountered: