Working on preserving comments in a span when updating the rest of the contents.