Nguyendat92929 commited on
Commit
1e7182e
·
verified ·
1 Parent(s): 6e42590

Update templates/home.html

Browse files
Files changed (1) hide show
  1. templates/home.html +1 -1
templates/home.html CHANGED
@@ -480,7 +480,7 @@ function markdownToHtml(text) {
480
  })
481
  // In đậm mạnh: **text** hoặc __text__
482
  .replace(/\*\*(.+?)\*\*/g, '<strong style="color: #3b82f6">$1</strong>')
483
- .replace(/__(.+?)__/g, '<strong style="color: #3b82f6">$1</strong>')
484
 
485
  // In nghiêng: *text* hoặc _text_
486
  .replace(/\*([^\s*][^*]*[^\s*])\*/g, '<em>$1</em>')
 
480
  })
481
  // In đậm mạnh: **text** hoặc __text__
482
  .replace(/\*\*(.+?)\*\*/g, '<strong style="color: #3b82f6">$1</strong>')
483
+ .replace(/__(.+?)__/g, '<strong style="color: #f63b84">$1</strong>')
484
 
485
  // In nghiêng: *text* hoặc _text_
486
  .replace(/\*([^\s*][^*]*[^\s*])\*/g, '<em>$1</em>')