"赵雷" <[EMAIL PROTECTED]> 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: pgpGwM25ooTmB.pgp
Description: PGP signature

_______________________________________________
emacs-wiki-discuss mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to