code: private void addTextNodeToParent (String text, Element parent, AnnotationNode annotation)	{
  	  String [] lines = new String[] {text};
  	  
  	  if (annotation != null)
  		  lines = splitInTwo(text);
  	  
  	  for (int i = 0; i < lines.length; i++){
  		  TextNode textNode = TextNode.createFromEncoded(lines[i], baseUri);
  		  lines(textNode, lines[i]);
  		  
  		  // apply the annotation and reset it to null
  		  if (annotation != null && i == 0)
  			  annotation.apply(textNode);
  		  
  		  // put the text node on the parent
  		  parent.appendChild(textNode);
  	  }
    }
docs: Break the text up by the first line delimiter.  We only want annotations applied to the first line of a block of text
  and not to a whole segment.
  
  @param text the text to turn into nodes
  @param parent the parent node
  @param annotation the current annotation to be applied to the first line of text