From: Matt Price <moptop99@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: font-lock error on html export with src blocks
Date: Thu, 27 Feb 2014 10:00:01 -0500 [thread overview]
Message-ID: <CAN_Dec9kPt6TuF-kVbcBqP2eQgGt0pTS1YFky6GoNJ__bBkaMg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]
Hi everyone,
I'm having trouble exporting an org file to html, or any html-derived
backends (deck, wordpress, etc). I've attached a version of the
offending file but I've also narrowed the error down to one php source
block:
#+BEGIN_SRC php
/* Register SoundCloud shortcode
-------------------------------------------------------------------------- */
add_shortcode("soundcloud", "soundcloud_shortcode");
/**
* SoundCloud shortcode handler
* @param {string|array} $atts The attributes passed to the
shortcode like [soundcloud attr1="value" /].
* Is an empty string when no
arguments are given.
* @param {string} $content The content between non-self
closing [soundcloud]â EURO |[/soundcloud] tags.
* @return {string} Widget embed code HTML
*/
function soundcloud_shortcode($atts, $content = null) {
#+END_SRC
The error seems to be related to font locks, and I guess must have
something to do with php-mode somehow:
-----*Messages*-------
Wrote /home/matt/test.org
org-babel-exp process php at line 14...
org-babel-exp process php at line 26...
org-babel-exp process html at line 36...
org-babel-exp process php at line 41...
face-attribute: Wrong type argument: symbolp, (quote font-lock-constant-face)
--------------
Does anyone else have any suggestions? thanks!
Matt
[-- Attachment #2: test.org --]
[-- Type: application/vnd.lotus-organizer, Size: 3941 bytes --]
next reply other threads:[~2014-02-27 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 15:00 Matt Price [this message]
2014-02-27 17:48 ` font-lock error on html export with src blocks Rick Frankel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN_Dec9kPt6TuF-kVbcBqP2eQgGt0pTS1YFky6GoNJ__bBkaMg@mail.gmail.com \
--to=moptop99@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).