Remove mark tags out of code samples for headings and paragraphs