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)