Skip to content
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

Convert to Markdown syntax error #1540

Closed
dXrayb opened this issue Aug 14, 2024 · 4 comments · Fixed by #1547
Closed

Convert to Markdown syntax error #1540

dXrayb opened this issue Aug 14, 2024 · 4 comments · Fixed by #1547
Assignees
Labels
bug Something isn't working released Available in a released installer

Comments

@dXrayb
Copy link

dXrayb commented Aug 14, 2024

Problem to Solve

Some Markdown syntax convert error

To Reproduce

input <u>underline text</u>

**Bold text**

Expected Behavior

underline text
Bold text

Screenshots

If applicable, add screenshots to help explain your problem.

Environment (if applicable)

01|01:46:39.172| Starting dllhost 1944, 3148 Mhz, 15 MB, zh-CN/zh-CN, v6.5.0, OneNote 15.0, Office 16.0, 2024-08-14 13:46
01|01:46:39.179| ..Windows 11 Professional, Version 23H2, Build 22621, 64 bit
01|01:46:39.189| ..C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE (16.0.17830.20138)
01|01:46:39.236| ..OnConnection(ConnectionMode:ext_cm_Startup,custom[1:Int32])
01|01:46:39.237| ..OneAddInsUpdate(custom[])
01|01:46:39.983| ..building ribbon
01|01:46:40.035| ..building ribbon colorizer commands
01|01:46:40.794| ..building ribbon language proofing commands
01|01:46:40.828| ..building context menu
01|01:46:41.089| ..OnStartupComplete(custom[])
01|01:46:41.104| ..starting command service
01|01:46:41.109| ..starting reminder service
01|01:46:41.120| ..starting navigation service
01|01:46:41.143| ..starting hashtag service, Ready
01|01:46:41.148| ..ready
09|01:46:41.188| hashtag service waiting, Ready
03|01:46:41.809| defined 51 hotkeys for input locale 2052
16|01:46:44.925| Running command ConvertMarkdownCommand
16|01:46:45.373| 运行命令ConvertMarkdownCommand时出错
16|01:46:45.374| System.NullReferenceException
Message: 未将对象引用设置到对象的实例。
Source: River.OneMoreAddIn
StackTrace: 在 River.OneMoreAddIn.Models.PageEditor.InsertAtAnchor(XElement content)
在 River.OneMoreAddIn.Commands.ConvertMarkdownCommand.d__1.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
在 River.OneMoreAddIn.CommandFactory.d__6.MoveNext()
TargetSite: [River.OneMoreAddIn] River.OneMoreAddIn.Models.PageEditor::InsertAtAnchor()

@dXrayb dXrayb added bug Something isn't working unread I have seen it or had time to refine it yet labels Aug 14, 2024
@stevencohn stevencohn added no-repro Cannot reproduce and removed unread I have seen it or had time to refine it yet labels Aug 14, 2024
@stevencohn
Copy link
Owner

Unable to reproduce in OneMore v6.5.0. Is there any more information you can provide?

Example:

image-demo

@dXrayb
Copy link
Author

dXrayb commented Aug 15, 2024

If you select the following content, it will cause an error.

@stevencohn
Copy link
Owner

I don't think your comment captured the content you wanted me to try.... can you post it again?

@dXrayb
Copy link
Author

dXrayb commented Aug 16, 2024

I don't think your comment captured the content you wanted me to try.... can you post it again?

error.mp4

@stevencohn stevencohn removed the no-repro Cannot reproduce label Aug 16, 2024
@stevencohn stevencohn self-assigned this Aug 16, 2024
@stevencohn stevencohn linked a pull request Aug 16, 2024 that will close this issue
@stevencohn stevencohn added the next-release Addressed but not yet released label Aug 16, 2024
@stevencohn stevencohn added released Available in a released installer and removed next-release Addressed but not yet released labels Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Available in a released installer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants