reverted 21255f773ecf

This commit is contained in:
Michael Teichgräber 2013-06-12 14:26:06 +02:00
parent b0be03670b
commit e188ad9eae

View File

@ -96,11 +96,6 @@ func (p *Parser) Markdown(src io.Reader, f Formatter) {
f.Finish()
}
// MarkdownString is like Markdown, but takes a string argument instead of an io.Reader.
func (p *Parser) MarkdownString(src string, f Formatter) {
p.Markdown(strings.NewReader(src), f)
}
func (p *Parser) parseRule(rule int, s string) (tree *element) {
old := p.yy.ResetBuffer(s)
if old != "" && strings.Trim(old, "\r\n ") != "" {