Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor: Debug bar showing htmlentities (<strong>) #531

Closed
timothymarois opened this issue Jun 3, 2017 · 5 comments
Closed

Minor: Debug bar showing htmlentities (<strong>) #531

timothymarois opened this issue Jun 3, 2017 · 5 comments

Comments

@timothymarois
Copy link
Contributor

This is just a minor issue I noticed,
The debug bar is printing out the html entities instead. Provided a test screenshot.

screenshot 2017-06-03 10 33 09

@lonnieezell
Copy link
Member

Thanks for pointing this out. Not sure what's going on here, but I can look into in a week or so. Will be heading out for vacation on Tuesday and will be gone for a week.

@timothymarois
Copy link
Contributor Author

Yeah I found it under prepareReplacement in parser.php

At least from my findings, it's this line causing it to strip html tags.
line 572
$filters[] = 'esc(html)';

That's as far as I got.

@timothymarois
Copy link
Contributor Author

timothymarois commented Jun 5, 2017

Just looked at the docs for the unescaping in parser. So in _database.tpl.php the {sql} should be {! sql !} and I believe it's happening more areas of the toolbar too.

@lonnieezell
Copy link
Member

Oh, yeah, the new additions to the Parser might cause havoc I haven't checked in the debug bar.

@lonnieezell
Copy link
Member

Fixed in 5df0425

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

No branches or pull requests

2 participants