bryonjacob / wikimodel

Automatically exported from code.google.com/p/wikimodel
0 stars 0 forks source link

onEmptyLines generated with wrong count number for macros #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For this input I get onEmptyLines(1):

-------------
this is one
paragraph

this is another one
-------------

However for this one I get only onEmptyLines(2):

-------------
{{macro/}}

{{macro/}}
-------------

Some more examples:

-------------
{{macro/}}

This is a para
-------------

generates onEmptyLines(3)

And

-------------
This is a para

{{macro/}}
-------------

generates onEmptyLines(2)

Original issue reported on code.google.com by vmas...@gmail.com on 29 Aug 2008 at 6:41

GoogleCodeExporter commented 8 years ago
Mikhail, what do you think of this patch which seems to fix the issue?

Thanks

Original comment by vmas...@gmail.com on 30 Aug 2008 at 3:05

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by vmas...@gmail.com on 1 Sep 2008 at 1:54