• Mike Samuel's avatar
    exp/template/html: simplify transition functions · 1f577d26
    Mike Samuel authored
    This simplifies transition functions to make it easier to reliably
    elide comments in a later CL.
    
    Before:
    - transition functions are responsible for detecting special end tags.
    After:
    - the code to detect special end tags is done in one place.
    
    We were relying on end tags being skipped which meant we were
    not noticing comments inside script/style elements that contain no
    substitutions.
    This change means we will notice all such comments where necessary,
    but stripTags will notice none since it does not need to.  This speeds
    up stripTags.
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/5074041
    1f577d26
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...