We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4074394 commit 1e38cd2Copy full SHA for 1e38cd2
src/Illuminate/Mail/Mailable.php
@@ -192,7 +192,7 @@ protected function buildMarkdownView()
192
193
return [
194
'html' => $markdown->render($this->markdown, $data),
195
- 'text' => $markdown->renderText($this->markdown, $data),
+ 'text' => isset($this->textView) ? $this->textView : $markdown->renderText($this->markdown, $data),
196
];
197
}
198
0 commit comments