From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QFeRCYze8F5BHAAA0tVLHw (envelope-from ) for ; Mon, 22 Jun 2020 16:38:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KDVcBYze8F6XYAAAB5/wlQ (envelope-from ) for ; Mon, 22 Jun 2020 16:38:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 555B7940145 for ; Mon, 22 Jun 2020 16:38:35 +0000 (UTC) Received: from localhost ([::1]:55988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnPSq-0007AI-Rp for larch@yhetil.org; Mon, 22 Jun 2020 12:38:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnPSM-00078R-NJ for emacs-orgmode@gnu.org; Mon, 22 Jun 2020 12:38:02 -0400 Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]:61334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnPSK-0006rK-HG for emacs-orgmode@gnu.org; Mon, 22 Jun 2020 12:38:02 -0400 Received: from gandalf.localnet (unknown [IPv6:2a01:e34:edf7:4710:15e1:9000:eb62:8482]) by smtp2-g21.free.fr (Postfix) with ESMTP id A538E2003FD for ; Mon, 22 Jun 2020 18:37:55 +0200 (CEST) From: Dominique Dumont To: emacs-orgmode@gnu.org Subject: Bug: ox-md: URL in HTML tables should not use markdown syntax [9.3.1 (9.3.1-dist @ /usr/share/emacs/site-lisp/elpa/org-9.3.1/)] Date: Mon, 22 Jun 2020 18:37:54 +0200 Message-ID: <4077317.QIdNEg9zBK@gandalf> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2a01:e0c:1:1599::11; envelope-from=domi.dumont@free.fr; helo=smtp2-g21.free.fr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: jobjuN8GynqU Hi The following org-mode table is exported in plain markdown mode as an HTML table: | name | link | |--------+--------| | debian | [[http://www.debian.org][debian]] | Unfortunately, the link inside the table is exported with Markdown syntax: debian [debian](http://www.debian.org) This is not allowed according to markdownguide.org : "You can=E2=80=99t use Markdown syntax inside block-level HTML tags. For example,

italic and **bold**

won=E2=80=99t work." See https://www.markdownguide.org/basic-syntax#html-best-practices Could you fix ox-md.el to export links (and maybe other markupds) as HTML inside a table ? All the best =2D----------------------------------------------------------------------- Emacs : GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) of 2020-05-17, modified by Debian Package: Org mode version 9.3.1 (9.3.1-dist @ /usr/share/emacs/site-lisp/el= pa/org-9.3.1/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-duration-format '((special . h:mm)) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-refile-targets '(("~/private/gtd/gtd.org" :maxlevel . 3) ("~/private/gtd/someday.org" :level . 1) ("~/private/gtd/tickler.org" :maxlevel . 2)) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-odt-format-headline-function 'org-odt-format-headline-default-function org-agenda-files '("~/private/gtd/inbox.org" "~/private/gtd/gtd.org" "~/private/gtd/tickler.org") org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-plantuml-jar-path "/usr/share/plantuml/plantuml.jar" org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append loc= al] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-a= ll append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes #[0 "\301\211\207" [imenu-create-index-function org-imenu-= get-tree] 2] org-eldoc-load) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n= (fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-babel-load-languages '((emacs-lisp . t) (shell . t) (perl . t) (js . t= ) (plantuml . t)) org-link-file-path-type 'relative org-export-backends '(md odt latex icalendar html ascii) org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS = WIDTH)"] org-src-lang-modes '(("redis" . redis) ("php" . php) ("C" . c) ("C++" . c+= +) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artis= t) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml"= . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . = sql)) org-occur-hook '(org-first-headline-recenter) org-structure-template-alist '(("n" . "notes") ("a" . "export ascii") ("c"= . "center") ("C" . "comment") ("e" . "example") ("E" . = "export") ("h" . "export html") ("l" . "export latex"= ) ("q" . "quote") ("s" . "src") ("v" . "verse")) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lin= es org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "WAITING(w)" "|" "DONE(d)" "CANCEL= LED(c)")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-babel-tangle-lang-exts '(("vala" . "vala") ("ruby" . "rb") ("python" .= "py") ("picolisp" . "l") ("ocaml" . "ml") ("maxima"= . "max") ("lua" . "lua") ("lisp" . "lisp") ("LilyPond"= . "ly") ("latex" . "tex") ("java" . "java") ("groovy"= . "groovy") ("clojure" . "clj") ("D" . "d") ("C++" . "cpp= ") ("perl" . "pl") ("emacs-lisp" . "el") ("elisp= " . "el")) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complet= e-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-sto= re-link) ("mhe" :follow org-mhe-open :store org-mhe-store-lin= k) ("irc" :follow org-irc-visit :store org-irc-store-li= nk :export org-irc-export) ("info" :follow org-info-open :export org-info-expor= t :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-= link) ("docview" :follow org-docview-open :export org-docv= iew-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-= store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-expor= t :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("fil= e+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"] ) ("mailto" :follow #[257 "\301\300\302Q!\207" ["mailto" browse-url ":"= ] 5 "\n\n(fn URL)"] ) ("https" :follow #[257 "\301\300\302Q!\207" ["https" browse-url ":"]= 5 "\n\n(fn URL)"] ) ("http" :follow #[257 "\301\300\302Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"] ) ("ftp" :follow #[257 "\301\300\302Q!\207" ["ftp" browse-url ":"] 5= "\n\n(fn URL)"] ) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-functi= on org-confirm-babel-evaluate nil org-use-sub-superscripts '{} org-agenda-custom-commands '(("o" "At the office" tags-todo "@office" ((org-agenda-overriding-header "Office") (org-agenda-skip-function (function my-org-agenda-skip-all-siblings-= but-first)) ) ) ) org-default-notes-file "/home/domi/org/notes.org" )