In recreating a drupal 7 site I have come across an issue where in views the same simply date field in a table suddenly now is surrounded by properties and data types. can anyone explain what I am doing wrong

<td class="views-field views-field-field-rotadate Joe-Thompson vols">
<strong>Wed 3 Aug</strong>
</td>

now looks like

<td class="views-field views-field-field-rotadate webmaster vols">
<strong>
<span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2016-10-25T00:00:00+01:00">Tue 25 Oct</span>
</strong>
</td>

Comments

artatac created an issue. See original summary.

robgreeniowa’s picture

I too discovered this weirdness when I needed the day (i.e. '2') and month (i.e. '9') and year (i.e. '2017) as replacement tokens for a query string in Drupal Views. To get rid of all the extra span info, simply go to the field in Views, and under "Rewrite results", click the checkbox for "Strip HTML tags". That did the trick for me. Good luck!

DamienMcKenna’s picture

Version: 7.x-2.7 » 7.x-2.x-dev