[IMC-Tech] invalid code
Dmitry Borodaenko
angdraug at gmail.com
Wed Nov 15 17:38:52 PST 2006
On 11/13/06, boud <boud at riseup.net> wrote:
> samizdat:
>
> (1) front page:
>
> http://belarus.indymedia.org gets just one error:
>
> required attribute "alt" not specified.
> ...us: Front Page"><img src="imc.png" /> <span style="vertical-ali...
This is included from site configuration. Added alt attribute for
Belarus and Ukraine IMCs.
> provided that it's first filtered through these two ampersand escaping hacks:
>
> | sed -e 's/\&feed/\&feed/g' |sed -e 's/\& IMC Docs/\& IMC Docs/g'
I remember doing it once before, but it seems I forgot about this and
put some more &'s in the code. Cleaned up again, will release updated
version soon.
The last one is from cities.xml, fixed cities.rb to HTML-escape
strings received from parsing it.
> (2) an article:
> http://validator.w3.org/check?uri=http%3A%2F%2Fbelarus.indymedia.org%2F7321
>
> This has just one error - the same "required attribute "alt" not specified."
> error.
Same thing, went with grep '&' through the code and cleaned it
everywhere. It was only a handful of places, majority of code already
did the right thing.
> i expect these will be easy to fix in time for samizdat 0.6.0...
Just when I wanted to release it ;-) Btw, we're still missing some
translations updates...
--
Dmitry Borodaenko
More information about the imc-tech
mailing list