As discussed in https://github.com/owickstrom/pandoc-emphasize-code/pull/3#issuecomment-403314283, code rendered as LaTeX, through the `listings` package, needs to be escaped. We could use Pandoc itself for this.