diff --git a/dist/converse-no-dependencies.js b/dist/converse-no-dependencies.js index 10a9b12ee..5a79bb0cb 100644 --- a/dist/converse-no-dependencies.js +++ b/dist/converse-no-dependencies.js @@ -53711,7 +53711,7 @@ function _instanceof(left, right) { if (right != null && typeof Symbol !== "unde }; u.renderNewLines = function (text) { - return text.replace(/\n\n+/g, '

').replace(/\n/g, '
'); + return text.replace(/\n\n+/g, '

').replace(/\n/g, '
'); }; u.renderImageURLs = function (_converse, obj) { diff --git a/dist/converse.js b/dist/converse.js index 96106a24f..366b0d10d 100644 --- a/dist/converse.js +++ b/dist/converse.js @@ -81067,7 +81067,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ }; u.renderNewLines = function (text) { - return text.replace(/\n\n+/g, '

').replace(/\n/g, '
'); + return text.replace(/\n\n+/g, '

').replace(/\n/g, '
'); }; u.renderImageURLs = function (_converse, obj) { diff --git a/docs/source/manual.rst b/docs/source/manual.rst index dc20889f8..90b50cb08 100644 --- a/docs/source/manual.rst +++ b/docs/source/manual.rst @@ -8,7 +8,7 @@ The Converse.js User Manual .. |br| raw:: html -
+
.. figure:: images/homepage.jpg :align: right diff --git a/index.html b/index.html index d13c04650..ff673cf83 100644 --- a/index.html +++ b/index.html @@ -205,9 +205,9 @@

I'm available for paid-for features, custom development and consulting.
However, please don't contact me personally for free support, use - the other channels mentioned above.

+ the other channels mentioned above.

- Here's my contact form.
+ Here's my contact form.

diff --git a/jslicenses.html b/jslicenses.html index 69c7be335..6c202c343 100644 --- a/jslicenses.html +++ b/jslicenses.html @@ -66,16 +66,16 @@ MPL-2.0 -
+
Public-Domain -
+
Expat converse.js -
+
bigint.js -
+
lodash.fp.js diff --git a/mockup/user-panel.html b/mockup/user-panel.html index 706ce2137..d1189a08a 100644 --- a/mockup/user-panel.html +++ b/mockup/user-panel.html @@ -42,7 +42,7 @@ + data-html="true" data-content="Room Address (JID):
public@conference.test.com
Discussions:
Public discussions
Participants: 1
Features:
Non-anonymous">  
  @@ -50,7 +50,7 @@ Juliet's Balcony + data-html="true" data-content="Room Address (JID):
public@conference.test.com
Discussions:
Public discussions
Participants: 1
Features:
Non-anonymous">  
  @@ -69,7 +69,7 @@ + data-html="true" data-content="Room Address (JID):
public@conference.test.com
Discussions:
Public discussions
Participants: 1
Features:
Non-anonymous">  
  @@ -77,7 +77,7 @@ Juliet's Balcony + data-html="true" data-content="Room Address (JID):
public@conference.test.com
Discussions:
Public discussions
Participants: 1
Features:
Non-anonymous">  
  diff --git a/spec/messages.js b/spec/messages.js index cfa8e15a9..21c5afdf8 100644 --- a/spec/messages.js +++ b/spec/messages.js @@ -953,7 +953,7 @@ }).then(() => { const view = _converse.chatboxviews.get(contact_jid); chat_content = view.el.querySelector('.chat-content'); - expect(chat_content.querySelector('.chat-msg__text').innerHTML).toBe('Hey
Have you heard the news?'); + expect(chat_content.querySelector('.chat-msg__text').innerHTML).toBe('Hey
Have you heard the news?'); stanza = Strophe.xmlHtmlNode( " view.model.messages.length); }).then(() => { - expect(chat_content.querySelector('.message:last-child .chat-msg__text').innerHTML).toBe('Hey

Have you heard the news?'); + expect(chat_content.querySelector('.message:last-child .chat-msg__text').innerHTML).toBe('Hey

Have you heard the news?'); stanza = Strophe.xmlHtmlNode( " view.model.messages.length); }).then(() => { - expect(chat_content.querySelector('.message:last-child .chat-msg__text').innerHTML).toBe('Hey
Have you heard
the news?'); + expect(chat_content.querySelector('.message:last-child .chat-msg__text').innerHTML).toBe('Hey
Have you heard
the news?'); done(); }).catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL)) })); diff --git a/src/utils/core.js b/src/utils/core.js index 473e54570..ab1a3e03b 100644 --- a/src/utils/core.js +++ b/src/utils/core.js @@ -274,7 +274,7 @@ }; u.renderNewLines = function (text) { - return text.replace(/\n\n+/g, '

').replace(/\n/g, '
'); + return text.replace(/\n\n+/g, '

').replace(/\n/g, '
'); }; u.renderImageURLs = function (_converse, obj) {