Merge pull request #14 from oreillymedia/sarah

Added data-type="xref" to cross-ref elements
fixed whitespace problem in inline footnote template