PLOS-Web/xmlgroomer — pull request #8 by mcbrandt13 (2013-12-11 00:24:14+00:00)
Title: table footnote groom fix

A few things. I added an if statement, so the groom will work differently on

elements depending on if they have child elements. If there are no children elements, it simply wipes the

text clean (after it's assigned to a new temp variable), creates the , and dumps the p text back in afterwards. If there are child elements present, it creates a element and specifically inserts it at the first location, and changes the p text (text prior to the first child) into the sup's tail. Though, now that i've typed this out, I probably could have just done that for

elements whether or not they have children... eh, I can update it, or we can just leave it as is for the next two weeks.