Skip to content

Commit

Permalink
Fixed numbered list rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Jul 2, 2024
1 parent 207a3e8 commit 3ae650b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
We'll document all notable changes in this file, including bug fixes, enhancements, and dependency updates.
Dates should be in`YYYY-MM-DD` format and versions are in [semantic versioning](http://semver.org/) format.

## 0.5.2

### Fixed

- Fixed rendering of numbered lists.

## 0.5.1

### Added
Expand Down
4 changes: 3 additions & 1 deletion src/lib/NumberedView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
</script>

<ol>
{#each block.items as segment}<li><SegmentView {segment} /></li>{/each}
{#each block.items as segments}<li>
{#each segments as segment}<SegmentView {segment} />{/each}
</li>{/each}
</ol>

0 comments on commit 3ae650b

Please sign in to comment.