-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Bug to convert title with number format #58
Comments
@phan0041 I read this a few times, but I am still not sure what the bug is. It is always handy to have: what you tried to do, what you were expecting, and what happened instead. Either way, I will fast track merging and releasing bug fixes if there are any. |
@gajus What I tried to do: use gitdown.js to create a heading title with number like this: 1. Importing CDN Extension NuGet Package What I put inside the source code:
What I expect:
The actual result:
Sample file: https://github.com/Azure/portaldocs/blob/master/portal-sdk/generated/portalfx-pde-cdn.md |
Where is the source file for https://github.com/Azure/portaldocs/blob/master/portal-sdk/generated/portalfx-pde-cdn.md? |
The source file is located in the private repository of company (as a confidential information). To make a sample source file, you can put two lines of: ## 1. Importing CDN Extension NuGet Package |
Gotcha. Well, if you end up working on a failing test case/ fix, I will prioritize addressing it. |
In file: gitdown/src/gitdown.js
Line 308 to 314
Source code:
===
The conversion is incorrect if the title like this: 1. Title one
Raw markdown: ## 1. Title one
Expected raw output: ## 1.Title one
Expected user view: 1. Title one
Actual error result:
===
The text was updated successfully, but these errors were encountered: