Hello again Kashyap,

Kashyap Chamarthy <kashyap...@gmail.com> writes:

> Hmm, that fixes the new line before the "sub bullet under test 3, with
> a quote".  However, a new line still remains after the quote ends (and
> before the "Test 4" starts).  Is it possible to nuke that too?  If
> not, that's okay, I can live with it. :-)

I'd say a vertical space before and after a block quote would be
'typographically' correct. But if you want to eliminate the space after
the block quote, without having to modify it in a general way, it could
be solved with a bit of Elisp, by defining a custom filter so that the
<blockquote> tag would be modified only within a plain list. Thus, with the
configuration that Diego has suggested, everything would be without
vertical space except the space before each block quote:

#+BIND: org-export-filter-plain-list-functions (my-filter-html)
#+begin_src emacs-lisp :exports results :results none
    (defun my-filter-html (text backend info)
    (when (org-export-derived-backend-p backend 'html)
      (replace-regexp-in-string "<blockquote>"  "<blockquote 
style=\"margin-bottom:0px\">" text)))
#+end_src

Regards,

Juan Manuel 

Reply via email to