Kable does not work correctly if two empty lines appear in the text. `gsub(pattern = "\\n\\n", replacement = "\\n", text)` should solve the problem.
Kable does not work correctly if two empty lines appear in the text.
gsub(pattern = "\\n\\n", replacement = "\\n", text)should solve the problem.