package org.j69.eewiki.wiki.tag;

import org.j69.eewiki.util.StringUtil;
import org.j69.eewiki.wiki.transformer.DataTag;

/**
 * Return Data Tag usage : \n -> <br>
 * @author <a href="mailto:agata@mobster.jp">Toshitaka Agata</a>
 * @version $Revision: 1.3 $ $Date: 2003/06/30 17:07:44 $
 */
public class ReturnDataTag implements DataTag {
    /**
     * @see jp.mobster.webapp.wiki.transform.DataTag#get()
     */
    public String get(String pageData) {
        return StringUtil.replace(pageData, "\\n", "<br>");
    }
}
