Added sections tests. Allow for searching of context stack
This commit is contained in:
@@ -11,7 +11,7 @@ public final class HBMustacheTemplate {
|
||||
/// - Parameter object: Object to render
|
||||
/// - Returns: Rendered text
|
||||
public func render(_ object: Any) -> String {
|
||||
render(object, context: nil)
|
||||
render([object], context: nil)
|
||||
}
|
||||
|
||||
internal init(_ tokens: [Token]) {
|
||||
|
||||
Reference in New Issue
Block a user