Skip to content

Commit 758da9f

Browse files
committed
Skip div fixing
1 parent 7ce33d4 commit 758da9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/html.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ split_chapters = function(
279279
# Need to take care of the div tags here before restore_part_html and
280280
# restore_appendix_html erase the section ids of the hidden PART or APPENDIX
281281
# sections.
282-
if (split_level > 1) {
282+
if (FALSE) {
283283
body = x[(i5 + 1):(i6 - 1)]
284284
h1 = grep('^<div (id="[^"]+" )?class="section level1("| )', body) + i5
285285
h2 = grep('^<div (id="[^"]+" )?class="section level2("| )', body) + i5

0 commit comments

Comments
 (0)