From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vadim Grinshpun Subject: Bug: html export of radio targets incorrect [8.2.7b (8.2.7b-1-ga5beff-elpa @ /home/vgrinshp/apps/share/emacs/24.3.50/lisp/org/)] Date: Fri, 01 Aug 2014 13:27:11 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDGc2-000732-8P for emacs-orgmode@gnu.org; Fri, 01 Aug 2014 13:27:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDGbw-0006uV-6L for emacs-orgmode@gnu.org; Fri, 01 Aug 2014 13:27:26 -0400 Received: from prod-mail-xrelay07.akamai.com ([72.246.2.115]:31026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDGbw-0006su-1k for emacs-orgmode@gnu.org; Fri, 01 Aug 2014 13:27:20 -0400 Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 2080247634 for ; Fri, 1 Aug 2014 17:27:18 +0000 (GMT) Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 0B80A47588 for ; Fri, 1 Aug 2014 17:27:18 +0000 (GMT) Received: from gleep.akamai.com (gleep.kendall.corp.akamai.com [172.28.8.135]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id F142B8003C for ; Fri, 1 Aug 2014 17:27:17 +0000 (GMT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ My org document has radiotargets where one target is contained within another as a substring. E.g., something like this: <<>> <<>> When I try to export via HTML (process described below), the visible text of the links referring to these targets is mangled (as if interpreted twice). The resulting HTML of a radio target link to foo_bar_baz looks like this: foo_<a href="#bar">bar</a>_baz The text is, naturally, rendered as: foo_bar_baz So while the link target is correct, the text of the link is not. Please let me know what additional info is needed, if any. -Vadim G. vgrinshp@akamai.com Emacs : GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2013-10-04 on gleep Package: Org-mode version 8.2.7b (8.2.7b-1-ga5beff-elpa @ /home/vgrinshp/apps/share/emacs/24.3.50/lisp/org/) current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-shiftleft-final-hook '(windmove-left) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-log-done t org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-startup-folded t org-export-date-timestamp-format "%Y-%m-%d" org-agenda-custom-commands '(("P" "Printed agenda" ((agenda "" ((org-agenda-span (quote week)) (org-agenda-start-on-weekday nil) (org-agenda-repeating-timestamp-show-all t) (org-agenda-entry-types (quote (:timestamp :sexp)))) ) (agenda "" ((org-agenda-ndays 1) (org-deadline-warning-days 7) (org-agenda-todo-keyword-format "[%s]") (org-agenda-scheduled-leaders (quote ("" ""))) (org-agenda-prefix-format "%t %s")) ) (todo "TODO" ((org-agenda-prefix-format "%T: [%s] ") (org-agenda-sorting-strategy (quote (tag-up priority-down))) (org-agenda-todo-keyword-format "") (org-agenda-overriding-header "\nTasks by Context\n------------------\n") ) ) ) ((org-agenda-compact-blocks t) (org-agenda-remove-tags t)) ("~/agenda.ps")) ("1" "Remaining items" ((agenda "" ((org-agenda-skip-scheduled-if-done (quote t)) (org-agenda-start-on-weekday nil) (org-agenda-entry-types (quote (:timestamp :sexp :scheduled :deadline))) ) ) ) ((org-agenda-compact-blocks t)) ("~/agenda.ps")) ) org-latex-format-headline-function 'org-latex-format-headline-default-function org-todo-keyword-faces '(("TODO" :foreground "orange red" :weight bold) ("NEXT" :foreground "yellow" :background "blue" :underline "t" :weight bold) ("REVIEW" :foreground "deep sky blue" :weight bold) ("DONE" :foreground "pale green" :weight bold) ("DELEGATED" :foreground "pale green" :weight bold) ("CR" :foreground "orange red" :weight bold) ("CR:next" :foreground "yellow" :background "blue" :underline "t" :weight bold) ("CR:review" :foreground "deep sky blue" :weight bold) ("CR:integ" :foreground "darkgoldenrod2" :weight bold) ("CR:review2" :foreground "aquamarine" :weight bold) ("CR:postponed" :foreground "dark goldenrod" :weight bold) ("CR:test" :foreground "firebrick1" :weight bold) ("CR:FIXED" :foreground "pale green" :weight bold) ("CRnext" :foreground "yellow" :background "blue" :underline "t" :weight bold) ("CRreview" :foreground "deep sky blue" :weight bold) ("CRinteg" :foreground "darkgoldenrod2" :weight bold) ("CRreview2" :foreground "aquamarine" :weight bold) ("CRpostponed" :foreground "dark goldenrod" :weight bold) ("CRtest" :foreground "firebrick1" :weight bold) ("CRFIXED" :foreground "pale green" :weight bold) ("WAITING" :foreground "yellow" :weight bold) ("SOMEDAY" :foreground "dark goldenrod" :weight bold) ("CANCELLED" :foreground "magenta" :weight bold)) org-agenda-include-diary t org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-export-copy-to-kill-ring t org-mode-hook '(#[nil "\300\301!\210\302\303\304\"\210\302\305\306\"\210\302\307\310\"\210\302\311\312\"\210\302\313\314\"\210\302\315\316\"\210\302\317\320\"\210\302\321\322\"\210\302\323\324\"\210\302\325\326\"\207" [linum-mode 0 local-set-key [S-left] windmove-left [S-right] windmove-right [S-up] windmove-up [S-down] windmove-down [C-S-left] org-shiftleft [C-S-right] org-shiftright [C-S-up] org-shiftup [C-S-down] org-shiftdown [f1] toggle-agenda-done-items [C-tab] dabbrev-expand] 3] er/add-org-mode-expansions #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-export-with-tags 'not-in-toc org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-down todo-state-up) (todo priority-down category-keep) (tags priority-down category-keep) (search category-down)) org-ascii-format-drawer-function '(lambda (name contents width) contents) org-replace-disputed-keys t org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-shiftup-final-hook '(windmove-up) org-archive-location "~/projects/archive.org::From %s" org-lowest-priority 69 org-export-with-drawers nil org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "REVIEW(v)" "|" "DONE(d)" "DELEGATED(D)") (sequence "CR(c)" "CR:next(N)" "CR:review(r)" "CR:integ(i)" "CR:review2(R)" "CR:test(T)" "CR:postponed" "|" "FIXED(F)") (sequence "CR(c)" "CRnext(N)" "CRreview(r)" "CRinteg(i)" "CRreview2(R)" "CRtest(T)" "CRpostponed" "|" "FIXED(F)") (sequence "WAITING(w@/!)" "SOMEDAY(s!)" "|" "CANCELLED(c@/!)")) org-babel-tangle-lang-exts '(("python" . "py") ("perl" . "pl") ("emacs-lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-default-priority 67 org-shiftdown-final-hook '(windmove-down) org-ditaa-jar-path "/home/vgrinshp/.emacs.d/elpa/contrib/scripts/ditaa.jar" org-html-format-headline-function 'ignore org-babel-load-languages '((ditaa . t) (sh . t) (gnuplot . t) (dot . t) (perl . t) (python . t) (sql . t) (org . t) (octave . t)) org-html-format-inlinetask-function 'ignore org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-shiftright-final-hook '(windmove-right) org-src-fontify-natively t org-publish-project-alist '(("org-notes" :base-directory "~/dev/project/ump/" :base-extension "org" :publishing-directory "~/remote/public_html/norsync/" :recursive nil :publishing-function org-publish-org-to-html :headline-levels 4 :auto-preamble t) ("org-static" :base-directory "~/org/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/remote/public_html/norsync/" :recursive nil :publishing-function org-publish-attachment) ("org" :components ("org-notes" "org-static"))) ) -- Vadim Grinshpun vgrinshp@akamai.com x82943