From: Darren S. <li...@yo...> - 2010-01-30 02:25:28
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1264815414 0 # Node ID d17eacfb379ac888a7029657c9eddbf8a06ef2ef # Parent 2bc71c4aa04be76ba96b3d633dac1dd42aca5599 Add dummy alt attributes to ensure valid XHTML 1.0 Transitional. This is less than ideal. Really, we want DocBook 5. diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -52,6 +52,7 @@ touch $^; \ fi endif + $(SED) -i -e '/<img [^>]*alt=/! s/<img /<img alt="" /g' $@ # we want valid XHTML 1.1 if HAVE_RSVG .svg.png: |