Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

HTML-Tags in info #459

Closed
michis0806 opened this issue Oct 29, 2017 · 2 comments
Closed

HTML-Tags in info #459

michis0806 opened this issue Oct 29, 2017 · 2 comments
Assignees

Comments

@michis0806
Copy link

Hi,
I just updated to Podlove Publisher 2.7 beta with the new beta of the web-player. I realized, that HTML-Tags are shown escaped in the expanded info-area

e.G. https://technikblase.fm/2017/10/28/tb059-subscribe9/

Any thoughts on that? Am I doing something wrong?

Thanks a lot
Michael

@alexander-heimbuch
Copy link
Collaborator

Nope, that is by intention. The thing with adding HTML in content is a security problem. Modern view renderers like react, angular and vue escape html. If I enable HTML within provided I also enable the possibility of cross site scripting. I know that is very strict but ensures to keep your site safe.

Still I want to enable you structuring your info. And will keep this issue as a ticket.

@michis0806
Copy link
Author

Hi Alex, I understand your intention. Maybe I didn't explain my problem understandable or "escaped" was the wrong term. Right now, the HTML is shown inline like Wir besuchen die Subscribe9 in München.<br /> <br /> Links:<br /> <br /> https://subscribe.de<br /> BR Podcast-Projekt &#8220;Call for Podcasts&#8221;<br />... when I replace the
'summary' => nl2br(wptexturize(convert_chars(trim($episode->summary)))), with a
'summary' => strip_tags(wptexturize(trim($episode->summary))),
in line 84 in the html5printer.php it looks better to me...

Michael

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants