Fix to make sure parentNode is an actual node, as opposed to the string version of the node (i.e. id).
Fix to make sure parentNode is an actual node, as opposed to the string version of the node (i.e. id).

git-svn-id: ee6e786acc44c9cca5ee17c71a5576c45c210361@8843 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful