collapse 'capture' tags to remove blanks
add search meta data