File tree 2 files changed +6
-5
lines changed 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -418,13 +418,13 @@ class StyledElementBuiltIn extends HtmlExtension {
418
418
if (child.attributes.containsKey ("style" )) {
419
419
final newStyle = inlineCssToStyle (child.attributes["style" ], null );
420
420
if (newStyle != null ) {
421
- styledElement.style = styledElement.style.merge (Style (textDecorationColor: newStyle.color));
421
+ styledElement.style = styledElement.style
422
+ .merge (Style (textDecorationColor: newStyle.color));
422
423
}
423
424
}
424
425
}
425
- styledElement.style = styledElement.style.merge (Style (
426
- textDecoration: TextDecoration .underline
427
- ));
426
+ styledElement.style = styledElement.style
427
+ .merge (Style (textDecoration: TextDecoration .underline));
428
428
break ;
429
429
case "var" :
430
430
continue italics;
Original file line number Diff line number Diff line change @@ -405,7 +405,8 @@ class Style {
405
405
textDecoration ?? TextDecoration .none,
406
406
]),
407
407
textDecorationColor: child.textDecorationColor ?? textDecorationColor,
408
- textDecorationThickness: child.textDecorationThickness ?? textDecorationThickness,
408
+ textDecorationThickness:
409
+ child.textDecorationThickness ?? textDecorationThickness,
409
410
textDecorationStyle: child.textDecorationStyle ?? textDecorationStyle,
410
411
textShadow: child.textShadow ?? textShadow,
411
412
whiteSpace: child.whiteSpace ?? whiteSpace,
You can’t perform that action at this time.
0 commit comments