#487 generate detailed contents for digital sources entries
This commit is contained in:
parent
8d3336e875
commit
30efc95fef
@ -416,7 +416,7 @@ namespace RMuseum.Services.Implementation
|
||||
var dbPageDigitalPage = await context.GanjoorPages.Where(p => p.FullUrl == $"/sources/{digitalSource.UrlSlug}").FirstOrDefaultAsync();
|
||||
if(dbPageDigitalPage != null)
|
||||
{
|
||||
string commentTag = $"{Environment.NewLine}<!- -->{Environment.NewLine}";
|
||||
string commentTag = $"{Environment.NewLine}<!- STATIC -->{Environment.NewLine}";
|
||||
if (dbPageDigitalPage.HtmlText.Contains(commentTag))
|
||||
{
|
||||
htmlText = dbPageDigitalPage.HtmlText.Substring(0, dbPageDigitalPage.HtmlText.IndexOf(commentTag));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user