Merge branch 'main' into deepLinks

This commit is contained in:
Username1548
2025-07-02 19:06:04 +07:00
13 changed files with 39 additions and 34 deletions

View File

@@ -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,