Skip to content

Conversation

vldmr-k
Copy link

@vldmr-k vldmr-k commented Oct 8, 2022

No description provided.

@vldmr-k
Copy link
Author

vldmr-k commented Oct 11, 2022

Is anybody here?)

@joncalhoun
Copy link
Owner

Busy, but I'll look at this when I have time.

Copy link
Owner

@joncalhoun joncalhoun left a comment

Choose a reason for hiding this comment

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

I think this should be fine to merge in, but I had a Q about why HTMLEscapeString was used beforehand.

f.Footer = template.HTML(v)
}
if v, ok := tags["class"]; ok {
f.Class = template.HTMLEscapeString(v)
Copy link
Owner

Choose a reason for hiding this comment

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

What is the reasoning behind doing HTMLEscapeString? I'm trying to think of a case where this would have something that needs escaped as part of the class and none are coming to mind.

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