(hopefully) fix newline in lists when pasting links

This commit is contained in:
Pierre Bondoerffer
2017-08-08 17:47:10 +02:00
parent 6ca6755d02
commit ca686f9c92
6 changed files with 11 additions and 11 deletions

View File

@@ -484,7 +484,7 @@ define(function () {
// Initial states
out.initialState = [
'<span style="font-size:16px;"><p>',
'<p>',
'This is&nbsp;<strong>CryptPad</strong>, the Zero Knowledge realtime collaborative editor. Everything is saved as you type.',
'<br>',
'Share the link to this pad to edit with friends or use the <span style="background-color:#5cb85c;color:#ffffff;">&nbsp;Share&nbsp;</span> button to share a <em>read-only link</em>&nbsp;which allows viewing but not editing.',
@@ -492,7 +492,7 @@ define(function () {
'<p><span style="color:#808080;"><em>',
'Go ahead, just start typing...',
'</em></span></p></span>',
'</em></span></p>',
'<p>&nbsp;<br></p>'
].join('');