pikim / grav-plugin-events

This plugin provides Calendar Events for Grav CMS
MIT License
13 stars 11 forks source link

|raw filter required in event_item.html.twig #26

Closed maxroseGIT closed 1 year ago

maxroseGIT commented 3 years ago

Hi, thanks for the nice plugin.

I run into html-tags being displayed in the "events"-list and "event"-items. (I use Grav v1.7.14 - Admin v1.10.14)

I figured that this can be solved by using the |raw-filter on page.contentand page.summary in the event_item.html.twig template file on lines 39 and 47.

However, in line 17 there is a – symbol that I don't know how to filter in order to have it rendered properly by the browser. Any idea how to solve this?

maxroseGIT commented 3 years ago

Is also found a missing |raw-filter for event.summary(50) in file event_calendar_item.html.twig on line 14.

therealgorgan commented 3 years ago

Thanks for posting this, I also run into that issue and will resolve it like you mentioned. Good one!

therealgorgan commented 3 years ago

@maxroseGIT btw I also had the – appearing, this is how I solved it: image

pikim commented 1 year ago

Could you please manually install the latest version from the zip file and give me some feedback if I properly implemented your changes?

pikim commented 1 year ago

Should be fixed, re-open if not.