Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3403 from matrix-org/bwindels/cider-italics
Browse files Browse the repository at this point in the history
New composer: use underscore for italics so it doesn't collide with bold when toggling
  • Loading branch information
bwindels authored Sep 9, 2019
2 parents d8dbe28 + 48247e6 commit 1422b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/BasicMessageComposer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<del>", "</del>");
Expand Down

0 comments on commit 1422b1d

Please sign in to comment.