Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed May 18, 2021
1 parent b6159fc commit 636bc29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@ private static void AppendTextFromNode(FormatterState state, XNode node, Compila
else if (name is DocumentationCommentXmlNames.CElementName or "tt")
{
needPopStyle = true;
state.PushStyle(TaggedTextStyle.Code | TaggedTextStyle.PreserveWhitespace);
state.PushStyle(TaggedTextStyle.Code);
}
else if (name == DocumentationCommentXmlNames.CodeElementName)
{
needPopStyle = true;
state.PushStyle(TaggedTextStyle.Code);
state.PushStyle(TaggedTextStyle.Code | TaggedTextStyle.PreserveWhitespace);
}
else if (name == "em" || name == "i")
{
Expand Down

0 comments on commit 636bc29

Please sign in to comment.