fix poll results counter
This commit is contained in:
parent
8a2ddd5b9f
commit
5c5834ddc6
@ -175,6 +175,8 @@ class MessageChatItem extends PureComponent {
|
|||||||
if (!isDefaultPoll) {
|
if (!isDefaultPoll) {
|
||||||
const entries = _text.split('<br/>');
|
const entries = _text.split('<br/>');
|
||||||
const options = [];
|
const options = [];
|
||||||
|
_text = _text.split('<br#>').join('<br/>');
|
||||||
|
|
||||||
entries.map((e) => {
|
entries.map((e) => {
|
||||||
// Sanitize. See: https://gist.github.com/sagewall/47164de600df05fb0f6f44d48a09c0bd
|
// Sanitize. See: https://gist.github.com/sagewall/47164de600df05fb0f6f44d48a09c0bd
|
||||||
e = e.split('<br#>').join('<br/>');
|
e = e.split('<br#>').join('<br/>');
|
||||||
|
Loading…
Reference in New Issue
Block a user