Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
vsch committed Apr 28, 2023
2 parents 9c34c01 + e51f246 commit 5157b15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void render(Document node, NodeRendererContext context, HtmlWriter html) {

@SuppressWarnings("MethodMayBeStatic")
void render(Heading node, NodeRendererContext context, HtmlWriter html) {
if (node.isExplicitAnchorRefId() || context.getHtmlOptions().renderHeaderId) {
if (context.getHtmlOptions().renderHeaderId) {
String id = context.getNodeId(node);
if (id != null) {
html.attr("id", id);
Expand Down

0 comments on commit 5157b15

Please sign in to comment.