forked from eatvio/eatvio_app
Merge branch 'main' into deepLinks
This commit is contained in:
@@ -164,7 +164,9 @@ class _RecipesWidgetState extends State<RecipesWidget> {
|
||||
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(
|
||||
color: appTheme.black,
|
||||
|
||||
Reference in New Issue
Block a user