[uf-discuss] Some questions about Microformats implementation

Andy Mabbett andy at pigsonthewing.org.uk
Mon Jan 21 01:06:12 PST 2008


In message <16BBFF88-72EA-4041-9752-C3CA77407D55 at theryanking.com>, ryan
<ryan at theryanking.com> writes

>> One more question (yes, another one). I have a tremendous lack of
>>geekiness, so I have to ask: can I insert a class into another one,
>>like this:
>> <span class="locality"><a class="url" href="http://maps.google.com/
>>maps/ms?  ie=UTF8&msa=0&msid=107254219936498773072.0004442d00670297558
>>c0&ll=40.2  036,-8.407588&spn=0.010046,0.019033&t=k&z=16&om=0">Coimbra
>></a></span>,
>> <span class="country-name">Portugal</span>
>
>This can be simplified:
>
><a class="url locality" href="http://maps.google.com/maps/ msie=UTF8&ms
>a=0&msid=107254219936498773072.0004442d0067029758c0&ll=40.20 36,-8.4075
>88&spn=0.010046,0.019033&t=k&z=16&om=0">Coimbra</a>,
><span class="country-name">Portugal</span>

Each of those ampersands should be escaped, as:

        &amp;

-- 
Andy Mabbett


More information about the microformats-discuss mailing list