Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/XamlStyler/DocumentProcessors/ElementDocumentProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ internal class ElementDocumentProcessor : IDocumentProcessor
private readonly XmlEscapingService xmlEscapingService;
private readonly IList<string> noNewLineElementsList;
private readonly IList<string> firstLineAttributes;
private readonly string[] inlineCollections = { "TextBlock", "RichTextBlock", "Paragraph", "Run", "Span", "InlineUIContainer", "AnchoredBlock" };
private readonly string[] inlineCollections = { "Bold", "Italic", "Underline", "TextBlock", "RichTextBlock", "Paragraph", "Run", "Span", "InlineUIContainer", "AnchoredBlock" };
private readonly string[] inlineTypes = { "Paragraph", "Run", "Span", "InlineUIContainer", "AnchoredBlock", "Hyperlink", "Bold", "Italic", "Underline", "LineBreak" };

public ElementDocumentProcessor(
Expand Down Expand Up @@ -378,4 +378,4 @@ private bool IsNoLineBreakElement(string elementName)
return this.noNewLineElementsList.Contains(elementName);
}
}
}
}