html/template: default missingkey behavior does not match documentation #54053
Labels
Documentation
Issues describing a change to documentation.
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What did you do?
https://go.dev/play/p/i3N0a5PATuI
What did you expect to see?
<b><no value></b>
This would align with the documented behavior of
Template.Option
.This is what text/template outputs.
What did you see instead?
<b></b>
The text was updated successfully, but these errors were encountered: