code: private void parseQuotedSpans(SpanManager sm, Span s,
  			List<Span> quotedSpans, String quotation)
  	{
  
  		final int qlen = quotation.length();
  
  		// get the start position
  		int start = sm.indexOf(quotation, s.getStart(), s.getEnd());
  
  		while (start != -1)
  		{
  
  			// get the end position
  			int end = sm.indexOf(quotation, start + qlen, s.getEnd());
  			if (end == -1)
  			{
  				break;
  			}
  
  			// build a new span from start and end position.
  			Span qs = new Span(start, end);
  			quotedSpans.add(qs);
  
  			// calculate the original src positions.
  			if (calculateSrcSpans)
  			{
  				qs.setSrcSpan(new SrcSpan(sm.getSrcPos(start), sm.getSrcPos(end
  						+ qlen - 1) + 1));
  			}
  
  			// delete the tags.
  			sm.delete(end, end + qlen);
  			sm.delete(start, start + qlen);
  
  			// get the next start position
  			start = sm.indexOf(quotation, qs.getEnd(), s.getEnd());
  		}
  	}
docs: Searches the Range given by the Span s for the double occurence of
  "quotation" and puts the results in the List quotedSpans. The Quotation
  tags will be deleted.
  
  @param sm
  , the Source in which will be searched
  @param s
  , the range in which will be searched
  @param quotedSpans
  , the List where the Spans will be placed, should be managed
  by the SpanManager sm
  @param quotation
  , the start and end tag as String