Skip to content

Commit

Permalink
[fix] Revert telega-markup-markdown2-fmt
Browse files Browse the repository at this point in the history
Keep using `telega--parseMarkdown` instead of `telega--parseMarkdown`
  • Loading branch information
zevlg committed Nov 14, 2023
1 parent 14ab8c6 commit aaf5e05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions telega-util.el
Original file line number Diff line number Diff line change
Expand Up @@ -1125,9 +1125,7 @@ Return nil if STR does not specify an org mode link."
:version 1))))

(defun telega-markup-markdown2-fmt (str)
(let ((fmt-text (telega--parseTextEntities
str '(:@type "textParseModeMarkdown" :version 2)))
; (telega--parseMarkdown (telega-fmt-text str)))
(let ((fmt-text (telega--parseMarkdown (telega-fmt-text str)))
(offset-shift 0))
;; Apply `telega-markdown2-backquotes-as-precode' logic
(when telega-markdown2-backquotes-as-precode
Expand Down

0 comments on commit aaf5e05

Please sign in to comment.