commit | e4c4b1131c35fd5556d53b017c542aa96e693f8d | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Mon Apr 02 22:05:49 2018 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Mon Apr 02 22:05:49 2018 -0400 |
tree | 75137507ed243cdbc2c97f8fc9d1d9199e0b803b | |
parent | cd11702de406cbe1bd41bbd40dd6ab91e4c6b221 [diff] [blame] |
Fix #158
diff --git a/R/row_spec.R b/R/row_spec.R index 0d3d74a..e4f6df1 100644 --- a/R/row_spec.R +++ b/R/row_spec.R
@@ -194,9 +194,7 @@ underline, strikeout, color, background, align, font_size, angle, hline_after, extra_latex_after) - out <- str_replace(out, - paste0(target_row, "\\\\\\\\"), - new_row) + out <- sub(paste0(target_row, "\\\\\\\\"), new_row, out, perl = T) } out <- structure(out, format = "latex", class = "knitr_kable")