Un-nest titles from content and add HR separators