Skip to content

Commit

Permalink
fix markdown pattern containing an unnecessary escape ('\') sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
nattvara committed Apr 17, 2024
1 parent db81184 commit cb679c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/components/chat/Message/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import styles from "./styles.module.css";
const REFETCH_TIMEOUT = 1000 * 60 * 10;

const markdownLinkPattern = /\[([^\]]+)\]\(([^)]+)\)/g;
const markdownBoldPattern = /\*\*([^\*]+)\*\*/g;
const markdownBoldPattern = /\*\*([^*]+)\*\*/g;

interface MessageProps {
initialMessage: MessageType;
Expand Down

0 comments on commit cb679c0

Please sign in to comment.