5575 very large gaps between activity details sections (#5625)

* fix: filter instructions markdown

* remove debugprint
This commit is contained in:
ggurdin 2026-02-10 11:25:38 -05:00 committed by GitHub
parent 5b13323140
commit 6ea71fb4e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,7 +174,11 @@ class ActivitySummary extends StatelessWidget {
icon: Symbols.steps,
iconSize: 16.0,
child: Html(
data: markdown(activity.instructions),
data: markdown(
activity.instructions
.replaceAll(RegExp('\n+'), '\n')
.replaceAll('---', ''),
),
style: {
"body": Style(
margin: Margins.all(0),