forked from eatvio/eatvio_app
Merge branch 'main' into deepLinks
This commit is contained in:
@@ -111,7 +111,9 @@ class _MyRecipeWidgetState extends State<MyRecipeWidget> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: Html(
|
||||
data: widget.recipe.description.length > 200 ? '${widget.recipe.description.substring(0, 200)}...' : widget.recipe.description,
|
||||
data: widget.recipe.description.length > 200
|
||||
? '${widget.recipe.description.substring(0, 200).replaceAll('\n', '<br>')}...'
|
||||
: widget.recipe.description.replaceAll('\n', '<br>'),
|
||||
style: {
|
||||
"*": Style(
|
||||
margin: Margins.zero,
|
||||
|
||||
Reference in New Issue
Block a user