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

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

[emacs-wiki-discuss] Re: #anchor causes strangely placed <p> tags


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: #anchor causes strangely placed <p> tags
Date: Wed, 31 May 2006 09:42:20 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Stefan van der Walt <address@hidden> writes:

> This muse snippet:
>
> #Surjective
>
> *** Surjective function
>  - From http://en.wikipedia.org/wiki/Surjective_function
>  - See also http://mathworld.wolfram.com/Surjection.html
>
> generates the following HTML:
>
> <p><a name="Surjective" id="Surjective"></a>
> <h4>Surjective function</h4>
> <ul>
> <li>From <a 
> href="http://en.wikipedia.org/wiki/Surjective_function";>http://en.wikipedia.org/wiki/Surjective_function</a></li>
>
> <li>See also <a 
> href="http://mathworld.wolfram.com/Surjection.html";>http://mathworld.wolfram.com/Surjection.html</a></p></li>
> </ul>
>
> Note that the <p> tags are placed incorrectly.  Is this a bug, or am I
> not using anchors properly?

It's a bug.  I think it's supposed to put the anchor just after the
<h4>.  Perhaps it should just add a `name="..."' element to the <h4>
tag instead -- that might be more elegant, and should achieve the same
effect.

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

Attachment: pgpRxwcvETe87.pgp
Description: PGP signature


reply via email to

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