Exception:无法将“System.Windows.Documents.Hyperlink”类型的元素放在 Hyperlink 的范围中。

报错信息

InvalidOperationException: 无法将“System.Windows.Documents.Hyperlink”类型的元素放在 Hyperlink 的范围中。
StackTrace:
   在 System.Windows.Documents.TextSchema.HasIllegalHyperlinkDescendant(TextElement element, Boolean throwIfIllegalDescendent)
   在 System.Windows.Documents.TextSchema.ValidateChild(TextElement parent, TextElement child, Boolean throwIfIllegalChild, Boolean throwIfIllegalHyperlinkDescendent)
   在 System.Windows.Documents.TextElement.System.Windows.Markup.IAddChild.AddChild(Object value)
   在 MdXaml.Markdown.Create[TResult,TContent](IEnumerable`1 content)
   在 MdXaml.Markdown.TreatsAsHref(Match match)
   在 MdXaml.SimpleInlineParser.Parser2.Parse(String text, Match firstMatch, IMarkdown engine, Int32& parseTextBegin, Int32& parseTextEnd)
   在 MdXaml.Markdown.RunSpanRest(String text, Int32 index, Int32 length, IInlineParser[] parsers, Int32 parserStart, List`1 outto)
   在 MdXaml.Markdown.PrivateRunSpanGamut(String text)
   在 MdXaml.Markdown.<FormParagraphs>d__150.MoveNext()
   在 System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   在 MdXaml.Markdown.RunBlockRest(String text, Int32 index, Int32 length, Boolean supportTextAlignment, IBlockParser[] parsers, Int32 parserStart, List`1 outto)
   在 MdXaml.Markdown.RunBlockRest(String text, Int32 index, Int32 length, Boolean supportTextAlignment, IBlockParser[] parsers, Int32 parserStart, List`1 outto)
   在 MdXaml.Markdown.RunBlockRest(String text, Int32 index, Int32 length, Boolean supportTextAlignment, IBlockParser[] parsers, Int32 parserStart, List`1 outto)
   在 MdXaml.Markdown.PrivateRunBlockGamut(String text, Boolean supportTextAlignment)
   在 MdXaml.Markdown.Transform(String text)
   在 MdXaml.MarkdownScrollViewer.UpdateMarkdown(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   在 Quicker.View.UI.ConfirmDialog.SetMessage(String message)
   在 Quicker.View.UI.ConfirmDialog.CsNhQ7AF8nk(Window  , String  , String  , String  , String  , String  , String  )
   在 Quicker.View.UI.ConfirmDialog.<ShowConfirmDialogAsync>d__26.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.Domain.Actions.X.BuiltinRunners.Notifyer.MessageBoxOutputRunner.<>c__DisplayClass47_2.JYWkPDi1cSybggJrWgsR.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

解决方法

暂无解决方案。

相关信息
1 查看
9天23小时前
Quicker版本
版本 反馈次数
1.44.23 1