From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Ingram Subject: Org publish inserting HTML tags into sitemap-format-entry Date: Wed, 10 Jul 2019 17:44:01 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58721) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlKNi-0002rg-4c for emacs-orgmode@gnu.org; Wed, 10 Jul 2019 17:44:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlKNh-0002yW-Ah for emacs-orgmode@gnu.org; Wed, 10 Jul 2019 17:44:06 -0400 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:33937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlKNg-0002wm-Sr for emacs-orgmode@gnu.org; Wed, 10 Jul 2019 17:44:05 -0400 Received: by mail-io1-xd29.google.com with SMTP id k8so8109007iot.1 for ; Wed, 10 Jul 2019 14:44:03 -0700 (PDT) Received: from [192.168.1.160] (c-68-40-213-250.hsd1.mi.comcast.net. [68.40.213.250]) by smtp.gmail.com with ESMTPSA id i23sm2330649ioj.24.2019.07.10.14.44.01 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jul 2019 14:44:01 -0700 (PDT) Content-Language: en-US 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" To: "emacs-orgmode@gnu.org" Hello, I am using  ox-publish to build my website. I have a custom sitemap-formt-entry function that adds post dates and I'm trying to add a div around those dates. Problem is the tags are getting escaped in the resulting HTML. How can I add tags without them being escaped? Below is my :sitemap-format-entry function. (defun org-sitemap-custom-entry-format (entry style project)   (let ((filename (org-publish-find-title entry project)))     (if (= (length filename) 0)         (format "*%s*" entry)       (format "
%s
[[file:blog/%s][%s]]"               (format-time-string "%Y-%m-%d"                   (org-publish-find-date entry project))               entry               filename)))) Thanks for the help! Thomas Ingram