emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: How to publish the literal "<<" or ">>" with pl


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: How to publish the literal "<<" or ">>" with planner-calendar-prev-date-href-from-page?
Date: Thu, 21 Sep 2006 09:30:02 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"赵雷" <address@hidden> writes:

> Hi there,
>
> I want use "<<" and ">>" as "prev" and "next" link in my planner
> published pages.
>
> The code in my header.html is:
> <lisp>
>  ;; insert pre day link when in Planner mode
>  (let ((page (planner-page-name)))
>   (when (and page (string-match planner-date-regexp page))
>    (planner-calendar-prev-date-href-from-page "<<")))
> </lisp>
> <lisp>(muse-wiki-publish-pretty-title)</lisp>
> <lisp>
>  ;; insert next day link when in Planner mode
>  (let ((page (planner-page-name)))
>   (when (and page (string-match planner-date-regexp page))
>    (planner-calendar-next-date-href-from-page ">>")))
> </lisp>       
>
> But after it is published, "<<" is converted to html-encoded
> "&lt;&lt;". What should I do to let muse publish it as original "<<"?

If you're using the development version of Muse, try <lisp
markup="nil"> instead of <lisp>.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | IRC: freenode.net/mwolson: #emacs, #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC

Attachment: pgp4jascOCLDR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]