Browse Source
Merge pull request #20850 from abpframework/issue-20818
Bug fixed - Section Rendering error.
pull/20852/head
SALİH ÖZKARA
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs
|
|
|
@ -542,6 +542,10 @@ namespace Volo.Docs.Pages.Documents.Project |
|
|
|
|
|
|
|
Document.Content = await _documentSectionRenderer.RenderAsync(Document.Content, UserPreferences, partialTemplates); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
DocumentNavigationsDto = new DocumentNavigationsDto(); |
|
|
|
} |
|
|
|
|
|
|
|
var converter = _documentToHtmlConverterFactory.Create(Document.Format ?? Project.Format); |
|
|
|
var content = converter.Convert(Project, Document, GetSpecificVersionOrLatest(), LanguageCode, ProjectName); |
|
|
|
|