Skip to content

Commit

Permalink
Bug fixed - Section Rendering error.
Browse files Browse the repository at this point in the history
  • Loading branch information
fahrigedik committed Sep 18, 2024
1 parent 6e56314 commit 5ac6958
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ private async Task ConvertDocumentContentToHtmlAsync()

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);
Expand Down

0 comments on commit 5ac6958

Please sign in to comment.