saus icon indicating copy to clipboard operation
saus copied to clipboard

Inherit <head> from default renderer

Open aleclarson opened this issue 4 years ago • 1 comments

When a renderer returns a non-nullish value, it inherits the head callback of the default renderer if it doesn't define its own.

aleclarson avatar Oct 24 '21 22:10 aleclarson

And if a routed renderer does define a head callback, but it returns a fragment (ie: HTML not wrapped in <head> tag), append that fragment into the default renderer's head output.

aleclarson avatar Oct 24 '21 23:10 aleclarson