Copy content before passing it to kramdown, for compatibility with 1.0.0