Branch: Tag:

2013-09-17

2013-09-17 15:11:37 by Anders Johansson <anders@roxen.com>

Pass on 'data-*' attributes to the <img> tag.

422:       a["background-color"] = id->misc->defines->bgcolor || "#eeeeee";    -  foreach( glob( "*-*", indices(args)), string n ) +  foreach( glob( "*-*", indices(args)), string n ) { +  if (!has_prefix(n, "data-"))    a[n] = args[n]; -  +  }       return a;   }