Skip to content

Commit

Permalink
fix: parse markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 16, 2023
1 parent d61ffe7 commit bad2509
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
22 changes: 16 additions & 6 deletions lib/ZwaveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2939,9 +2939,7 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {
// downgrade: true,
// channel: 'stable',
// normalizedVersion: '1.13',
// changelog: `* Fixed some bugs
// * Added other bugs
// * Very long changelog line that should not overflow the UI. Very long changelog line that should not overflow the UI Very long changelog line that should not overflow the UI`,
// changelog: `* Fixed some bugs by [robertsLando](https://github.com/robertsLando)\n* Added other bugs\n* Very long changelog line that should not overflow the UI. Very long changelog line that should not overflow the UI Very long changelog line that should not overflow the UI`,
// files: [
// {
// target: 0,
Expand All @@ -2956,15 +2954,20 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {
// url: 'https://example.com/firmware1.bin',
// },
// ],
// device: {
// manufacturerId: 123,
// productType: 456,
// productId: 789,
// firmwareVersion: '1.13',
// rfRegion: 1,
// },
// },
// {
// version: '2.00',
// downgrade: false,
// channel: 'beta',
// normalizedVersion: '1.13',
// changelog: `* Fixed some bugs
// * Added other bugs
// * Very long changelog line that should not overflow the UI. Very long changelog line that should not overflow the UI Very long changelog line that should not overflow the UI`,
// changelog: `* Fixed some bugs by [robertsLando](https://github.com/robertsLando)\n* Added other bugs\n* Very long changelog line that should not overflow the UI. Very long changelog line that should not overflow the UI Very long changelog line that should not overflow the UI`,
// files: [
// {
// target: 0,
Expand All @@ -2979,6 +2982,13 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {
// url: 'https://example.com/firmware1.bin',
// },
// ],
// device: {
// manufacturerId: 123,
// productType: 456,
// productId: 789,
// firmwareVersion: '1.13',
// rfRegion: 1,
// },
// },
// ] as FirmwareUpdateInfo[]

Expand Down
3 changes: 1 addition & 2 deletions src/components/nodes-table/OTAUpdates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@
>
<p
class="text-caption ml-4"
v-text="u.changelog"
style="white-space: break-spaces"
v-html="u.changelog"
></p>

<v-list-item
Expand Down

0 comments on commit bad2509

Please sign in to comment.