class Ronn::RoffFilter
def write(text)
def write(text) return if text.nil? || text.empty? # lines cannot start with a '.'. insert zero-width character before. if text[0,2] == '\.' && (@buf.last && @buf.last[-1] == ?\n) @buf << '\&' end @buf << text end