File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 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 {
418418 if (child.attributes.containsKey ("style" )) {
419419 final newStyle = inlineCssToStyle (child.attributes["style" ], null );
420420 if (newStyle != null ) {
421- styledElement.style = styledElement.style.merge (Style (textDecorationColor: newStyle.color));
421+ styledElement.style = styledElement.style
422+ .merge (Style (textDecorationColor: newStyle.color));
422423 }
423424 }
424425 }
425- styledElement.style = styledElement.style.merge (Style (
426- textDecoration: TextDecoration .underline
427- ));
426+ styledElement.style = styledElement.style
427+ .merge (Style (textDecoration: TextDecoration .underline));
428428 break ;
429429 case "var" :
430430 continue italics;
Original file line number Diff line number Diff line change @@ -405,7 +405,8 @@ class Style {
405405 textDecoration ?? TextDecoration .none,
406406 ]),
407407 textDecorationColor: child.textDecorationColor ?? textDecorationColor,
408- textDecorationThickness: child.textDecorationThickness ?? textDecorationThickness,
408+ textDecorationThickness:
409+ child.textDecorationThickness ?? textDecorationThickness,
409410 textDecorationStyle: child.textDecorationStyle ?? textDecorationStyle,
410411 textShadow: child.textShadow ?? textShadow,
411412 whiteSpace: child.whiteSpace ?? whiteSpace,
You can’t perform that action at this time.
0 commit comments