This commit is contained in:
Hamid Reza Mohammadi 2023-12-10 10:52:10 +03:30
parent e0e81129ad
commit 710002b331

View File

@ -270,7 +270,7 @@ namespace RMuseum.Services.Implementation
options == GanjoorTOC.TitlesAndFirstCenteredVerse
)
{
html += await _AdditionalTableOfContentsAnchorTitleForPoem(html, context, poem, options);
html = await _AdditionalTableOfContentsAnchorTitleForPoem(html, context, poem, options); //this is correct 3
}
html += $"</a>{Environment.NewLine}";
html += $"</div>{Environment.NewLine}";
@ -305,7 +305,7 @@ namespace RMuseum.Services.Implementation
options == GanjoorTOC.TitlesAndFirstCenteredVerse
)
{
html += await _AdditionalTableOfContentsAnchorTitleForPoem(html, context, poem, options);
html = await _AdditionalTableOfContentsAnchorTitleForPoem(html, context, poem, options);//this is correct 1
}
html += $"</a>{Environment.NewLine}";
html += $"</div>{Environment.NewLine}";
@ -523,7 +523,7 @@ namespace RMuseum.Services.Implementation
html += $"<p class=\"poem-excerpt\" data-value=\"{@poem.Title} { await _AdditionalTableOfContentsAnchorTitleForPoem("", context, poem, options)}\"><a href=\"{poem.FullUrl}\">{poem.Title}</a>";
html += await _AdditionalTableOfContentsAnchorTitleForPoem(html, context, poem, options);
html = await _AdditionalTableOfContentsAnchorTitleForPoem(html, context, poem, options); //this is correct 2 ;)
html += $"</p>{Environment.NewLine}";
}