anchor.diff:            tag = 'div'
             elemID = spaceless(2: index(spaceless, ' ') - 1)
             if (index(elemID, '(') > 0) then
  +            tag = trim(tag) // elemID( index(elemID, '(') : index(elemID, ')'))
               elemID = elemID(1 : index(elemID, '#') - 1)
             endif
             if (index(elemID, '.') > 0) then
  
positive.code: 
        lastSpaceCount = spaceCount
  
        if (unitNo == 0) then
          templatefile = trim(templatefile) // outputLine
        else
          write(unitNo, AFORMAT) outputLine
        endif
      end do
      close(templater)
  
negative.code:         tag = 'div'
          className = spaceless(2: index(spaceless, ' ') - 1)
          if (index(className, '(') > 0) then
            tag = trim(tag) // className( index(className, '(') : index(className, ')'))
            className = className(1 : index(className, '#') - 1)
          endif
          if (index(className, '#') > 0) then
  