Do not add news and event URLs to the sitemap if the target page is exempt from the sitemap (see #6418)
URL decode image paths when exporting to PDF (see #6411)
Use a closure instead of `nl2br_callback`