Skipping unknown tags in mime visitor.
This commit is contained in:
@@ -185,10 +185,17 @@ namespace Wino.Core.Mime
|
||||
}
|
||||
else
|
||||
{
|
||||
// pass the tag through to the output
|
||||
if (ctx.TagId == HtmlTagId.Unknown)
|
||||
{
|
||||
ctx.DeleteTag = true;
|
||||
ctx.DeleteEndTag = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
ctx.WriteTag(htmlWriter, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected override void VisitTextPart(TextPart entity)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user