diff --git a/Sources/HTMLKit/HTMLRenderer.swift b/Sources/HTMLKit/HTMLRenderer.swift index 4e95f2c3..c58e6d7f 100644 --- a/Sources/HTMLKit/HTMLRenderer.swift +++ b/Sources/HTMLKit/HTMLRenderer.swift @@ -40,7 +40,7 @@ public protocol HTMLRenderable { func render(raw type: T.Type) throws -> String } -/// A struct containing the differnet formulas for the different views. +/// A struct containing the different formulas for the different views. /// /// try renderer.add(template: WelcomeView()) // Builds the formula /// try renderer.render(WelcomeView.self) // Renders the formula @@ -174,11 +174,11 @@ public class HTMLRenderer: HTMLRenderable { lingo = try Lingo(rootPath: path, defaultLocale: defaultLocale) } - /// Manage the differnet contexts + /// Manage the different contexts /// This will remove the generic type in the render call public class ContextManager { - /// The different context varaibles used when rendering + /// The different context variables used when rendering var contexts: [String: Any] /// The lingo object that is needed to use localization