From 5782b2ffaeea5d6ee7f34562b596d55f70824192 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Fri, 7 Aug 2020 22:41:57 -0500 Subject: [PATCH] typo --- R/html.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/html.R b/R/html.R index 28919b939..1392b3a06 100644 --- a/R/html.R +++ b/R/html.R @@ -560,7 +560,7 @@ ref_to_number = function(ref, ref_table, backslash) { warning('The label(s) ', paste(lab[i], collapse = ', '), ' not found', call. = FALSE) num[i] = '??' } - # equation references should include paratheses + # equation references should include parentheses i = grepl('^eq:', ref) num[i] = paste0('(', num[i], ')') res = sprintf('%s', ref, num)