using ZelWiki.Engine.Library;
using ZelWiki.Engine.Library.Interfaces;
namespace ZelWiki.Engine.Implementation
{
///
/// Handles wiki comments. These are generally removed from the result.
///
public class CommentHandler : ICommentHandler
{
///
/// Handles a wiki comment.
///
/// Reference to the wiki state object
/// The comment text
public HandlerResult Handle(IZelEngineState state, string text)
{
return new HandlerResult() { Instructions = [Constants.HandlerResultInstruction.TruncateTrailingLine] };
}
}
}