File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,7 @@ const props = defineProps<{
13
13
space: ExtendedSpace ;
14
14
}>();
15
15
16
- // shortening to twice the allowed character limit (140*2) before removing markdown
17
- // due to a bug in remove-markdown: https://github.com/stiang/remove-markdown/issues/52
18
- // until this is fixed we need to avoid applying that function to very long texts with a lot of markdown
19
- // see also: BaseProposalPreviewItem.vue
20
- const body = computed (() => removeMd (shorten (props .proposal .body , 280 )));
16
+ const body = computed (() => removeMd (props .proposal .body ));
21
17
22
18
const winningChoice = computed (() =>
23
19
props .proposal .scores .indexOf (Math .max (... props .proposal .scores ))
Original file line number Diff line number Diff line change @@ -17,11 +17,7 @@ const props = defineProps<{
17
17
profiles: { [key : string ]: { ens: string ; name? : string ; about? : string } };
18
18
}>();
19
19
20
- // shortening to twice the allowed character limit (140*2) before removing markdown
21
- // due to a bug in remove-markdown: https://github.com/stiang/remove-markdown/issues/52
22
- // until this is fixed we need to avoid applying that function to very long texts with a lot of markdown
23
- // see also: BaseProposalItem.vue
24
- const body = computed (() => removeMd (shorten (props .proposal .body , 280 )));
20
+ const body = computed (() => removeMd (props .proposal .body ));
25
21
26
22
const winningChoice = computed (() =>
27
23
props .proposal .scores .indexOf (Math .max (... props .proposal .scores ))
You can’t perform that action at this time.
0 commit comments