Events Made Easy Forums Bug fixed or feature request implemented Small bug(?) with #_CATEGORIES output

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42559
    Anonymous
    Inactive

    Hello,

    I came across what I think is a small formatting bug in the output from the #_CATEGORIES placeholder – the categories are separated by commas but there are no spaces between them. eg:

    Expected output:

    A Category, Foo, Bar

    Actual output:

    A Category,Foo,Bar

    Presumably this is an easy fix – could you tell me which line in the plugin’s code I’d need to change to tide me over until an update?

    (I’d also like to hack the output of #_CATEGORIES a bit so each category is displayed with a link to a listing of events in that category, similar to the output of [events_filterform], but I realise that’s a bit specific for a feature request so am happy to hack at it on my own).

    #46885
    Anonymous
    Inactive

    For anyone who might be curious about this (the first part of my post at least):

    Using plugin version 3.3.1, changing line 1090 in events-manager.php from:

    $replacement = eme_trans_sanitize_html(join(",",$categories));

    to

    $replacement = eme_trans_sanitize_html(join(", ",$categories));

    (note the space after the comma) does the trick.

    #46886
    Franky
    Keymaster

    This was already fixed in trunk 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top