diff --git a/R/html.R b/R/html.R index 03392af26..6acf5a47c 100644 --- a/R/html.R +++ b/R/html.R @@ -563,7 +563,7 @@ parse_fig_labels = function(content, global = FALSE) { m = gregexpr(sprintf('\\(#((%s):[-/[:alnum:]]+)\\)', reg_label_types), content) labs = regmatches(content, m) cntr = new_counters(label_types, chaps) # chapter counters - figs = grep('^
', content) for (i in seq_along(labs)) {