SaturnFramework / Saturn

Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
https://saturnframework.org
MIT License
715 stars 109 forks source link

fixes missing doctype in html controller actions #125

Closed WalternativE closed 6 years ago

WalternativE commented 6 years ago

adds tests to verify that implicit return of xmlnode as well as explit result from renderHtml get doctype element prepended adds test to verify that doctype is not prependend in case where the user returns a fully parsed html document as string *changes direct calls of context writer methods to helper methods (to keep interface uniform)

Krzysztof-Cieslak commented 6 years ago

Thanks a lot!