replace pre tags with backticks