undo removal of stripping <p>s as it breaks HTML /me
s
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
19e5dc5799
commit
f5856270cc
3 changed files with 32 additions and 6 deletions
|
@ -1089,8 +1089,7 @@ export default class MessageComposerInput extends React.Component {
|
|||
if (contentText === '') return true;
|
||||
|
||||
if (shouldSendHTML) {
|
||||
// FIXME: should we strip out the surrounding <p></p>?
|
||||
contentHTML = this.html.serialize(editorState); // HtmlUtils.processHtmlForSending();
|
||||
contentHTML = HtmlUtils.processHtmlForSending(this.html.serialize(editorState));
|
||||
}
|
||||
} else {
|
||||
const sourceWithPills = this.plainWithMdPills.serialize(editorState);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue