@@ -62,7 +62,7 @@ internal class XmlHelper
62
62
{ @"\<(see|seealso){1} cref\=""dynamic""[ ]*\/\>" , "<see langword=\" dynamic\" />" } ,
63
63
{ @"\<(see|seealso){1} cref\=""string""[ ]*\/\>" , "<see cref=\" T:System.String\" />" } ,
64
64
{ @"<code data-dev-comment-type=""(?<elementName>[a-zA-Z0-9_]+)"">(?<elementValue>[a-zA-Z0-9_]+)</code>" , "<see ${elementName}=\" ${elementValue}\" />" } ,
65
- { @"<xref data-throw-if-not-resolved=""[a-zA-Z0-9_]+"" uid=""(?<docId>. +)""><\/xref>" , "<see cref=\" T:${docId}\" />" } ,
65
+ { @"<xref data-throw-if-not-resolved=""[a-zA-Z0-9_]+"" uid=""(?<docId>[a-zA-Z0-9_,\<\>\.\@\#\$%^&`\(\)] +)""><\/xref>" , "<see cref=\" T:${docId}\" />" } ,
66
66
} ;
67
67
68
68
private static readonly Dictionary < string , string > _replaceableMarkdownPatterns = new Dictionary < string , string > {
@@ -123,7 +123,7 @@ internal class XmlHelper
123
123
{ @"\<(typeparamref|paramref){1} name\=""(?'refNameContents'[a-zA-Z0-9_\-]+)""[ ]*\/\>" , @"`${refNameContents}`" } ,
124
124
{ @"\<see langword\=""(?'seeLangwordContents'[a-zA-Z0-9_\-]+)""[ ]*\/\>" , @"`${seeLangwordContents}`" } ,
125
125
{ @"<code data-dev-comment-type=""[a-zA-Z0-9_]+"">(?<elementValue>[a-zA-Z0-9_]+)</code>" , "`${elementValue}`" } ,
126
- { @"<xref data-throw-if-not-resolved=""[a-zA-Z0-9_]+"" uid=""(?<docId>. +)""><\/xref>" , "<xref:${docId}>" } ,
126
+ { @"<xref data-throw-if-not-resolved=""[a-zA-Z0-9_]+"" uid=""(?<docId>[a-zA-Z0-9_,\<\>\.] +)""><\/xref>" , "<xref:${docId}>" } ,
127
127
} ;
128
128
129
129
private static readonly string [ ] _splittingSeparators = new string [ ] { "\r " , "\n " , "\r \n " } ;
0 commit comments