ONTechNITS / RapidHTML

GNU General Public License v3.0
10 stars 0 forks source link

Double <head> tags #38

Closed ThomasJRyan closed 2 months ago

ThomasJRyan commented 2 months ago

Currently, if you provide html_head to the RapidHTML class and then one of your route returns a Head() tag, you'll get two <head> tags in the <html> tag which is probably bad practice

This can be seen here https://github.com/ONTechNITS/RapidHTML/tree/master/examples/modern_table

We need to look for a <head> tag in a constructed Html() object and merge the contents of Head() and html_head together