Skip to content

Commit

Permalink
bugfix text node of EmotionML-Document
Browse files Browse the repository at this point in the history
  • Loading branch information
gfobe committed Sep 14, 2012
1 parent 4c79fb2 commit 44ae46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EmotionmlDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public XmlDocument ToDom()

if (plaintext != null)
{
emotionmlXml.AppendChild(emotionmlXml.CreateTextNode(plaintext));
emotionmlXml.DocumentElement.AppendChild(emotionmlXml.CreateTextNode(plaintext));
}

//TODO: validate against scheme (as static method)
Expand Down

0 comments on commit 44ae46a

Please sign in to comment.