[DRE-commits] [ruby-org] 237/303: Closes a horizontal-rule tag.

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:34:04 UTC 2013


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository ruby-org.

commit e28d5f7dce402e5441c14c5c88778f235d220bb7
Author: vonavi <ivvl82 at gmail.com>
Date:   Sat Jan 26 20:08:04 2013 +0200

    Closes a horizontal-rule tag.
---
 lib/org-ruby/output_buffer.rb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/org-ruby/output_buffer.rb b/lib/org-ruby/output_buffer.rb
index ba5b19a..c7de1e2 100644
--- a/lib/org-ruby/output_buffer.rb
+++ b/lib/org-ruby/output_buffer.rb
@@ -152,9 +152,10 @@ module Orgmode
     end
 
     def maintain_mode_stack(line)
-      # Always close a heading line, paragraph and inline example
+      # Always close the following lines
       pop_mode if (mode_is_heading? current_mode or
                    current_mode == :paragraph or
+                   current_mode == :horizontal_rule or
                    current_mode == :inline_example)
 
       # End-block line closes every mode within block

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-org.git



More information about the Pkg-ruby-extras-commits mailing list