We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3670269 commit 37c9015Copy full SHA for 37c9015
src/DynamoCoreWpf/UI/GuidedTour/CustomRichTextBox.cs
@@ -117,8 +117,8 @@ private static FlowDocument GetCustomDocument(string Text)
117
//Finding the end character that indicates the hyperlink is complete (no empty spaces are allowed in hyperlink URL just in the name)
118
if (word.Contains("="))
119
{
120
- string linkURL = word.Split('=')[1];
121
- hyperlinkName += word.Split('=')[0];
+ string linkURL = word.Split('=').LastOrDefault();
+ hyperlinkName += word.Split('=').FirstOrDefault();
122
123
Run run3 = new Run(hyperlinkName.Replace("#", ""));
124
Hyperlink link = new Hyperlink(run3);
0 commit comments