Fixed bug where the formatter would merge span elements with parent bookmarks if an id format was used.