escape_latex is not applied to the stub, which breaks latex compilation when the stub includes invalid characters. Below, the first example produces valid LaTeX, since test_this in cells is properly escaped. The second example does not compile because test_this is in the stub column and escape_latex function is not applied there.
escape_latex
is not applied to the stub, which breaks latex compilation when the stub includes invalid characters. Below, the first example produces valid LaTeX, sincetest_this
in cells is properly escaped. The second example does not compile becausetest_this
is in the stub column andescape_latex
function is not applied there.Created on 2019-01-23 by the reprex package (v0.2.1)