From 48247e66be4fe83e972d52fef9e8c5aed5253986 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 6 Sep 2019 17:50:23 +0200 Subject: [PATCH] use underscore for italics so it doesn't collide with bold when toggling --- src/components/views/rooms/BasicMessageComposer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/BasicMessageComposer.js b/src/components/views/rooms/BasicMessageComposer.js index 99e7b8ea07..eabb97a6f5 100644 --- a/src/components/views/rooms/BasicMessageComposer.js +++ b/src/components/views/rooms/BasicMessageComposer.js @@ -460,7 +460,7 @@ export default class BasicMessageEditor extends React.Component { toggleInlineFormat(range, "**"); break; case "italics": - toggleInlineFormat(range, "*"); + toggleInlineFormat(range, "_"); break; case "strikethrough": toggleInlineFormat(range, "", "");