]> gitweb.factorcode.org Git - factor.git/commitdiff
help.markup: made $nl less promiscuous with its newlines
authorKeith Lazuka <klazuka@gmail.com>
Mon, 21 Sep 2009 19:41:04 +0000 (15:41 -0400)
committerKeith Lazuka <klazuka@gmail.com>
Mon, 21 Sep 2009 19:41:04 +0000 (15:41 -0400)
basis/help/markup/markup.factor

index b438c9708452b546987158c9152cf416c55c974c..0201e86b3fe018f78038860b71f1b88f5fe758c9 100644 (file)
@@ -71,7 +71,7 @@ ALIAS: $slot $snippet
     ] ($span) ;
 
 : $nl ( children -- )
-    nl nl drop ;
+    nl last-block? [ nl ] unless drop ;
 
 ! Some blocks
 : ($heading) ( children quot -- )