//
//  XTHtmlTagH4.m
//  TadsTerp
//
//  Created by Rune Berg on 18/04/14.
//  Copyright (c) 2014 Rune Berg. All rights reserved.
//

#import "XTHtmlTagH4.h"
#import "XTOutputFormatterProtocol.h"


@implementation XTHtmlTagH4

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

+ (BOOL)standalone
{
	return NO;
}

+ (BOOL)blockLevel
{
	return YES;
}

+ (BOOL)blockLevelSpacingBefore
{
	return YES;
}

+ (BOOL)blockLevelSpacingAfter
{
	return YES;
}

- (NSArray *)dispatchToFormatter:(NSObject<XTOutputFormatterProtocol> *)formatter
{
	return [formatter handleHtmlTagH4:self];
}

@end
