fml id's

View: New views
2 Messages — Rating Filter:   Alert me  

fml id's

by Lukas Theussl-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Another doubt about faq id's: in m1 an id had to be a valid HTML id, in
m2 fml files I see frequently things like [1]

<faq id="What is a Mojo">

which is internally converted to <a name="What_is_a_Mojo">. I think the
faq id should be valid in the first place, correct?

-Lukas


[1]
https://svn.apache.org/repos/asf/maven/site/trunk/src/site/fml/general.fml


Re: fml id's

by Vincent Siveton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Lukas,

2008/5/13, Lukas Theussl <ltheussl@...>:
>
>  Another doubt about faq id's: in m1 an id had to be a valid HTML id, in m2
> fml files I see frequently things like [1]
>
>  <faq id="What is a Mojo">
>
>  which is internally converted to <a name="What_is_a_Mojo">. I think the faq
> id should be valid in the first place, correct?

In theory yes, but I think this logic is more useful and intuitive for users.

Cheers,

Vincent

>  -Lukas
>
>
>  [1]
> https://svn.apache.org/repos/asf/maven/site/trunk/src/site/fml/general.fml
>
>
LightInTheBox - Buy quality products at wholesale price