#401 fixes and improvements

This commit is contained in:
Hamid Reza Mohammadi 2023-07-26 14:22:53 +03:30
parent 81233f3edd
commit e50248d6ba

View File

@ -230,7 +230,7 @@ namespace RMuseum.Services.Implementation
int idxEnd = html.IndexOf("<", idxStart);
if (idxEnd == -1) break;
string tagName = html.Substring(idxStart + 1, idxEnd - idxStart - 1).ToPersianNumbers().ApplyCorrectYeKe();
string tagName = html.Substring(idxStart + 1, idxEnd - idxStart - 1).ToPersianNumbers().ApplyCorrectYeKe().Trim();
idxStart = html.IndexOf("value-name", idxEnd);
if (idxStart == -1) break;