Location should not include markup

Created on 23 February 2024, 9 months ago
Updated 25 February 2024, 9 months ago

Problem/Motivation

When the location field is a term reference field, adding an event to a calendar results in the location wrapped in an href tag to the associated term, e.g. <a href="/taxonomy/term/4" hreflang="en">Community Center East</a>

Steps to reproduce

  1. Create an event content type in which there is a location field which is a term reference field
  2. Make sure the respective vocabulary has terms that can be used to populate the field.
  3. Configure the node display to use the term reference location field for the location in the "Add to cal" widget, e.g. [node:field_location]
  4. Create en event node.
  5. Click the "Add to Calendar" button and select one of the options.
  6. Whichever option is selected (e.g. iCal / MS Outlook), the location for the event includes the markup described above.

Proposed resolution

Strip HTML from the output for the location for each of the available options (Google, Yahoo, Outlook, ics download, etc.)

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States butterwise

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024