fix comments having style in their html

This commit is contained in:
Hamid Reza Mohammadi 2026-07-21 18:16:06 +03:30
parent 0d2f7b7ff9
commit 60ade5b000

View File

@ -582,7 +582,8 @@ namespace RMuseum.Services.Implementation
try
{
var comments = await context.GanjoorComments.Where(c => c.HtmlComment.Contains("href=")).ToArrayAsync();
var comments = //await context.GanjoorComments.Where(c => c.HtmlComment.Contains("href=")).ToArrayAsync();
await context.GanjoorComments.Where(c => c.HtmlComment.Contains("style")).ToArrayAsync();
await jobProgressServiceEF.UpdateJob(job.Id, 0, $"Examining {comments.Length} Comments");