Skip to content

Commit

Permalink
Fix formatting in class-markdown.php
Browse files Browse the repository at this point in the history
Corrected the syntax for incrementing the list_index in class-markdown.php. The updated code ensures that the variable is incremented in a clear and well-recognized format, improving code readability and maintaining consistency across the project.
  • Loading branch information
attackant committed Jan 2, 2024
1 parent 188a702 commit 2b7ff15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/apple-exporter/class-markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ private function parse_node_list_item( $node ) {
if ( 'ol' === $this->list_mode ) {
return sprintf(
'%d. %s',
$this->list_index ++,
$this->list_index++,
$text
);
}
Expand Down

0 comments on commit 2b7ff15

Please sign in to comment.