After a lot of heartache, staring at the code and continuously thinking that it should work, and yet it clearly didn't, I took quite a long time to figure out why the class attribute was omitted from the HTML output. E.g. given [flickr-photo:id=xx,class=something], the HTML attribute should be class="something flickr-photo-img", not class=" flickr-photo-img".

It's a very trivial typo in flickr.inc that caused me so much trouble, though:

  if (empty($attributs['class'])) {
    $attributes['class'] = NULL;
  }

There's a single 's' missing in the first line, and the above should have been:

  if (empty($attributes['class'])) {
    $attributes['class'] = NULL;
  }

Comments

Anonymous’s picture

Assigned: Unassigned »
Status: Active » Fixed

Thanks, ill get that committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)