* font-lock error on html export with src blocks
@ 2014-02-27 15:00 Matt Price
2014-02-27 17:48 ` Rick Frankel
0 siblings, 1 reply; 2+ messages in thread
From: Matt Price @ 2014-02-27 15:00 UTC (permalink / raw)
To: Org Mode
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-27 17:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 15:00 font-lock error on html export with src blocks Matt Price
2014-02-27 17:48 ` Rick Frankel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.