jgonyea / grav-plugin-podcast

GravCMS plugin that creates podcast channel and podcast episode page templates along with a podcast RSS feed.
MIT License
18 stars 7 forks source link

summary can truncate html, and break it #18

Closed krodelabestiole closed 6 years ago

krodelabestiole commented 6 years ago

I tried to implement an audio player manually since I get a "no audio" message and no audio player working then I had my html broken.

I think this method is too simplistic : {{ (episode.summary)|truncate(120) }} line 27 https://github.com/jgonyea/grav-plugin-podcast/blob/develop/templates/partials/podcast_episodes_list.html.twig

I guess the fact that audio player doesn't work might have something to do with the lack of metadata. still it should be able to work anyway.

jgonyea commented 6 years ago

Fixed in new release.