anewt-developers team mailing list archive
-
anewt-developers team
-
Mailing list archive
-
Message #00175
[Branch ~uws/anewt/anewt.uws] Rev 1740: [xhtml] ax_img_src() should not put filename in alt attribute
------------------------------------------------------------
revno: 1740
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Tue 2010-01-05 21:17:50 +0100
message:
[xhtml] ax_img_src() should not put filename in alt attribute
Fixes bug #489728.
modified:
xhtml/api.lib.php
--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws
Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.
=== modified file 'xhtml/api.lib.php'
--- xhtml/api.lib.php 2009-07-20 19:47:12 +0000
+++ xhtml/api.lib.php 2010-01-05 20:17:50 +0000
@@ -781,7 +781,7 @@
function ax_img_src($src, $attributes=null)
{
/* Use src for alt, since the alt attribute is required */
- $element = ax_img_src_alt($src, $src, $attributes);
+ $element = ax_img_src_alt($src, '', $attributes);
return $element;
}