//
//  XTHtmltagBody.m
//  XTads
//
//  Created by Rune Berg on 17/03/2020.
//  Copyright © 2020 Rune Berg. All rights reserved.
//

#import "XTHtmlTagBody.h"
#import "XTBaseTextHandler.h"


@implementation XTHtmlTagBody

+ (NSString *)name
{
	return @"body";
}

- (void)format:(NSObject<XTOutputFormatterProtocol> *)formatter textHandler:(XTBaseTextHandler *)textHandler
{
	NSArray *formattedElements = [formatter handleHtmlTagBody:self];
	[textHandler receiveFormattedElements:formattedElements];
}

@end
