Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samcoe
Copy link
Contributor

@samcoe samcoe commented Sep 10, 2020

This PR fixes the bug where repo view was HTML escaping its output. The fix was to change from using html/template package to text/template package which does not do any sort of escaping.

https://golang.org/pkg/text/template/

Before:
Screen Shot 2020-09-10 at 9 26 23 AM

After:
Screen Shot 2020-09-10 at 9 26 03 AM

cc https://github.com/github/client-apps/discussions/23#discussioncomment-75188

@samcoe samcoe self-assigned this Sep 10, 2020
@samcoe samcoe marked this pull request as ready for review September 10, 2020 07:52
@samcoe samcoe requested review from mislav and vilmibm September 10, 2020 13:15
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you for the tests 🚀

@samcoe samcoe merged commit d544f7f into trunk Sep 11, 2020
@samcoe samcoe deleted the fix-repo-view-bug branch September 11, 2020 05:48
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

Successfully merging this pull request may close these issues.

2 participants