diff --git a/TranslationAssistant.Business/HTMLTranslationManager.cs b/TranslationAssistant.Business/HTMLTranslationManager.cs
index 77d5e9d..48cfc85 100644
--- a/TranslationAssistant.Business/HTMLTranslationManager.cs
+++ b/TranslationAssistant.Business/HTMLTranslationManager.cs
@@ -55,7 +55,7 @@ public static int DoTranslation(string htmlfilename, string fromlanguage, string
/// Reference to the node list
private static void AddNodes(HtmlNode rootnode, ref List nodes)
{
- string[] DNTList = { "script", "#text", "code", "col", "colgroup", "embed", "em", "#comment", "image", "map", "media", "meta", "source", "xml"}; //DNT - Do Not Translate - these nodes are skipped.
+ string[] DNTList = { "script", "code", "col", "colgroup", "embed", "#comment", "image", "map", "media", "meta", "source", "xml" }; //DNT - Do Not Translate - these nodes are skipped.
HtmlNode child = rootnode;
while (child != null && child != rootnode.LastChild)
{
@@ -63,7 +63,7 @@ private static void AddNodes(HtmlNode rootnode, ref List nodes)
if (child.InnerHtml.Length > maxRequestSize)
{
if (child.FirstChild.Name == "#text") nodes.Add(child); //only text in here
- else AddNodes(child.FirstChild, ref nodes);
+ else AddNodes(child.FirstChild, ref nodes); //recurse into the elements below this one
}
else
{