Skip to content

Commit

Permalink
#87 remove caption from table/figures.
Browse files Browse the repository at this point in the history
  • Loading branch information
d-gregorczyk committed Mar 30, 2023
1 parent e0146f4 commit beea2e5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,9 @@ class NumberingProcessor(
it + 1
}
}
val newTitle = "$sectionNumber-$objectNumber. ${block.title.replaceHtmlTags()}"
block.title = newTitle

block.caption = ""
block.title = "$sectionNumber-$objectNumber. ${block.title.replaceHtmlTags()}"
block.id?.let {
anchorReplacements.put(block.id, LabelInfo("$sectionNumber-$objectNumber", LabelSource.TABLE_OR_FIGURE))
}
Expand Down

0 comments on commit beea2e5

Please sign in to comment.