@@ -101,7 +101,7 @@ class TransformConfiguration {
101101 /// before a plain text message without HTML part is converted into HTML
102102 final List <TextTransformer > textTransformers;
103103
104- /// The maximum value for width attributes, defaults to 400 .
104+ /// The maximum value for width attributes, defaults to 300 .
105105 final int attributeWidthMax;
106106
107107 /// Optional custom values, `null` unless specified.
@@ -129,7 +129,7 @@ class TransformConfiguration {
129129 /// `<p>{text}</p>`
130130 static const String standardPlainTextHtmlTemplate = '<html><head>'
131131 '<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=5.0, minimum-scale=0.5"</meta>'
132- '<style> * {word-wrap: break-word;}</style>'
132+ '<style> * {word-wrap: break-word; word-break: break-word; }</style>'
133133 '</head><body>'
134134 '<p>{text}</p>'
135135 '</body></html>' ;
@@ -138,8 +138,8 @@ class TransformConfiguration {
138138 static const String standardEmptyMessageText =
139139 'This message has no contents.' ;
140140
141- /// The standard maximum width for attributes is 400 .
142- static const int standardAttributeMaxWidth = 400 ;
141+ /// The standard maximum width for attributes is 300 .
142+ static const int standardAttributeMaxWidth = 300 ;
143143
144144 /// The list of default DOM transformers
145145 static const List <DomTransformer > standardDomTransformers = [
0 commit comments