Fixed parser to handle empty nodes, css replacer sends back text when nothing to replace