• This code:
    <p><a class='buttons' href='#_ATT{event_url}' >More details and bookings ?</a></p>

    …strips out the class on the A element and yields this html:
    <p><a href='https://example.com' >More details and bookings ?</a></p>

    Using a normal placeholder does not have this effect, only custom fields. In the end I added the class to the containing element, but it is a definite bonafide bug.
    EM 5.5.7.1
    WP 4.2.2

    https://www.ads-software.com/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Where are you using this code? Have you tried using the standard double quotes instead of single quotes?

    Thread Starter retrocool

    (@retrocool)

    Yes I tried different quotes. I changed them from double in case it helped.
    The excerpted code was in:
    events/settings/formatting/Default event list format

    Thread Starter retrocool

    (@retrocool)

    curiously, this code DIDN’T strip out the class (note the lack of a space after the opening ‘a’ tag):
    <ahref='#_ATT{event_url}' class="buttons">

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug: strips class from link containing custom field’ is closed to new replies.