The address field handler for views should return an 'element type' of 'div' so that addresses don't get wrapped in a span element.

Comments

dawehner’s picture

I think you get set "$this->definition['element type']", too

dboulet’s picture

@dereine, can you please elaborate a little more on your comment?

dawehner’s picture

you don't have to override the method, but you could just the the element type in your data definition.

dboulet’s picture

Right, that makes sense, thanks dereine.

Does this patch look right?

dawehner’s picture

Yes he does.

yesct’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Location theming

I think this is ready to be checked by a maintainer.

I wonder if looking at old issues might help.... adding a tag that might yield other issues to look at.

rooby’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Location theming

Automatically closed -- issue fixed for 2 weeks with no activity.