Skip to content

Commit 079da88

Browse files
authored
Merge pull request #117 from iceljc/features/refine-chat-window
refine content log style
2 parents bf19a53 + 01c186e commit 079da88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/helpers/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function replaceNewLine(text) {
9595
* @returns {string}
9696
*/
9797
export function replaceMarkdown(text) {
98-
let res = text.replace(/#([\s]+)/g, '\\# ');
98+
let res = text.replace(/#([\s]+)/g, '\\# ').replace(/[-|=]{3,}/g, '');
9999

100100
let regex1 = new RegExp('\\*(.*)\\*', 'g');
101101
let regex2 = new RegExp('\\*([\\*]+)\\*', 'g');

0 commit comments

Comments
 (0)