Fix typo in emphasize_stuff_in_headers()
This commit fixes a typo in emphasize_stuff_in_headers() wherer ${yellow} was used rather than ${html_yellow} in the creation of the HTML output.
This commit is contained in:
parent
5aadc1951d
commit
58353d3522
|
@ -2812,13 +2812,13 @@ emphasize_stuff_in_headers(){
|
||||||
-e "s/X-Runtime/${html_yellow}X-Runtime${html_off}/g" \
|
-e "s/X-Runtime/${html_yellow}X-Runtime${html_off}/g" \
|
||||||
-e "s/X-Rack-Cache/${html_yellow}X-Rack-Cache${html_off}/g" \
|
-e "s/X-Rack-Cache/${html_yellow}X-Rack-Cache${html_off}/g" \
|
||||||
-e "s/X-Pingback/${html_yellow}X-Pingback${html_off}/g" \
|
-e "s/X-Pingback/${html_yellow}X-Pingback${html_off}/g" \
|
||||||
-e "s/X-Permitted-Cross-Domain-Policies/${yellow}X-Permitted-Cross-Domain-Policies${html_off}/g" \
|
-e "s/X-Permitted-Cross-Domain-Policies/${html_yellow}X-Permitted-Cross-Domain-Policies${html_off}/g" \
|
||||||
-e "s/X-AspNet-Version/${html_yellow}X-AspNet-Version${html_off}/g")" \
|
-e "s/X-AspNet-Version/${html_yellow}X-AspNet-Version${html_off}/g")" \
|
||||||
-e "s/x-note/${html_yellow}x-note${html_off}/g" \
|
-e "s/x-note/${html_yellow}x-note${html_off}/g" \
|
||||||
-e "s/X-Global-Transaction-ID/${html_yellow}X-Global-Transaction-ID${html_off}/g" \
|
-e "s/X-Global-Transaction-ID/${html_yellow}X-Global-Transaction-ID${html_off}/g" \
|
||||||
-e "s/x-global-transaction-id/${html_yellow}x-global-transaction-id${html_off}/g" \
|
-e "s/x-global-transaction-id/${html_yellow}x-global-transaction-id${html_off}/g" \
|
||||||
-e "s/Alt-Svc/${html_yellow}Alt-Svc${html_off}/g" \
|
-e "s/Alt-Svc/${html_yellow}Alt-Svc${html_off}/g" \
|
||||||
-e "s/system-wsgw-management-loopback/${yellow}system-wsgw-management-loopback${html_off}/g"
|
-e "s/system-wsgw-management-loopback/${html_yellow}system-wsgw-management-loopback${html_off}/g"
|
||||||
#FIXME: this is double code. The pattern to emphasize would fit better into
|
#FIXME: this is double code. The pattern to emphasize would fit better into
|
||||||
# one function.
|
# one function.
|
||||||
# Also we need another function like run_other_header as otherwise "Link" "Alt-Svc" will never be found.
|
# Also we need another function like run_other_header as otherwise "Link" "Alt-Svc" will never be found.
|
||||||
|
|
Loading…
Reference in New Issue