这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@haseobang
Copy link
Contributor

@haseobang haseobang commented Aug 27, 2023

Fixed Error for HTML Output regarding template output.html

I kept getting the following error with -of html
[ERR] template: output.html:74:94: executing "output.html" at <$result.HTMLColor>: can't evaluate field HTMLColor in type output.htmlResult

This fix worked for me.

Closes #684

Fixed Error for HTML Output

[ERR] template: output.html:74:94: executing "output.html" at <$result.HTMLColor>: can't evaluate field HTMLColor in type output.htmlResult
@haseobang haseobang closed this Aug 27, 2023
@haseobang haseobang reopened this Aug 27, 2023
Copy link
Member

@joohoi joohoi left a comment

Choose a reason for hiding this comment

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

I wasn't able to reproduce the issue, and the Go html/template does support using the tags in both ways: with and without the whitespaces, I doubt that this fix is actually related. However it's a good contribution to keep the coding style intact (spaces are used elsewhere in the template), so I'm going to merge it.

Could you please remove the CHANGELOG.md entry though, as this should not affect the actual template parsing.

Copy link
Member

@joohoi joohoi left a comment

Choose a reason for hiding this comment

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

Nvm, I fixed the changelog entry.

@joohoi joohoi merged commit 6f29907 into ffuf:master Sep 13, 2023
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.

ffuf fails to generate output in html format

2 participants