adding handling for table footnotes

(for OpenStack, may need to refactor later)