Remove the span element from valuerank results

Jump to: navigation, search

> Every other format places results within a p tag. Is there a reason valuerank insists on using a span and can I get around this?

If it is not a template related output then it will either use 'span' or 'li' as element according to [0].

[0] https://github.com/SemanticMediaWiki/SemanticResultFormats/blob/master/formats/valuerank/SRF_ValueRank.php#L164-L169

mwjames (talk)17:04, 11 March 2016

Thank you for the reference, MWJames, that helps. I did experiment with using a template format option with the valuerank, but I wound up with the result wrapped in a div rather than a span - so different result but same end result problem once I tried to insert the variable into an expression. I might be on the right track though if I can pull the div from the template fomrat somehow. I'm going to keep playing. Thank you for the info.

Jcantroot (talk)17:54, 11 March 2016