Skip to content

Commit b19bbee

Browse files
committed
Avoid reporting a warning for the SHFB MAML 'quote' element
1 parent bfe856e commit b19bbee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

DocumentationAnalyzers/DocumentationAnalyzers.Test/StyleRules/DOC100UnitTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public async Task TestMultipleBlockElementsAsync()
8282
/// <inheritdoc/>
8383
/// <token>SomeTokenName</token>
8484
/// <include />
85+
/// <quote>Quote</quote>
8586
/// <!-- Supported HTML block-level elements -->
8687
/// <div>Remarks.</div>
8788
/// <p>Remarks.</p>

DocumentationAnalyzers/DocumentationAnalyzers/StyleRules/BlockLevelDocumentationAnalyzerBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ private static bool IsBlockLevelName(XmlNameSyntax name, bool includePotentialEl
173173
// potential block-level elements => allow
174174
case XmlCommentHelper.InheritdocXmlTag:
175175
case "include":
176+
case "quote":
176177
case "token":
177178
return true;
178179

0 commit comments

Comments
 (0)