• Rob Pike's avatar
    html/template: fix two unrelated bugs · 51fba7d8
    Rob Pike authored
    1) The code to catch an exception marked the template as escaped
    when it was not yet, which caused subsequent executions of the
    template to not escape properly.
    2) ensurePipelineContains needs to handled Field as well as
    Identifier nodes.
    
    Fixes #7379.
    
    LGTM=mikesamuel
    R=mikesamuel
    CC=golang-codereviews
    https://golang.org/cl/85240043
    51fba7d8
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...