diff --git a/MdXaml/MarkdownScrollViewer.cs b/MdXaml/MarkdownScrollViewer.cs index fc85a06..cc54369 100644 --- a/MdXaml/MarkdownScrollViewer.cs +++ b/MdXaml/MarkdownScrollViewer.cs @@ -459,8 +459,9 @@ private void UpdateClickAction() break; case ClickAction.HighlightOnly: - command = new HighlightOnlyCommand(); - break; + Engine.HyperlinkCommand = new HighlightOnlyCommand(); + Engine.OnHyperLinkClicked = _onHyperLinkClicked; + return; default: return;