Skip to content

Commit

Permalink
Merge branch 'main' into chore-add-detailed-errormsg
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev authored Mar 12, 2024
2 parents 2cd7da7 + 495fca5 commit 3e70c0d
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 99 deletions.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="OneOf" Version="3.0.263" />
<PackageVersion Include="OneOf.SourceGenerator" Version="3.0.263" />
<PackageVersion Include="PdfPig" Version="0.1.9-alpha-20240307-ac027" />
<PackageVersion Include="PdfPig" Version="0.1.9-alpha-20240312-845e3" />
<PackageVersion Include="PlantUml.Net" Version="1.4.80" />
<PackageVersion Include="Spectre.Console" Version="0.48.0" />
<PackageVersion Include="Spectre.Console.Cli" Version="0.48.0" />
Expand All @@ -37,7 +37,7 @@
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="PublicApiGenerator" Version="11.1.0" />
<PackageVersion Include="Verify.DiffPlex" Version="2.3.0" />
<PackageVersion Include="Verify.Xunit" Version="23.3.0" />
<PackageVersion Include="Verify.Xunit" Version="23.4.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.7" />
<PackageVersion Include="xunit" Version="2.7.0" />
</ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions src/Docfx.Dotnet/Parsers/XmlComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ public static XmlComment Parse(string xml, XmlCommentParserContext context = nul
}
try
{
// Format xml with indentation.
// It's needed to fix issue (https://github.com/dotnet/docfx/issues/9736)
xml = XElement.Parse(xml).ToString(SaveOptions.None);

return new XmlComment(xml, context ?? new());
}
catch (XmlException)
Expand Down
172 changes: 86 additions & 86 deletions templates/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/lunr": "^2.3.7",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"browser-sync": "^3.0.2",
"esbuild": "~0.20.1",
"esbuild-sass-plugin": "~3.1.0",
Expand Down
Loading

0 comments on commit 3e70c0d

Please sign in to comment.