Fix paragraph detection near <example> tag
commit17b0cc38cc14c88b9ab2bd7a5d386153285a4e2e
authorMichael Olson <mwolson@gnu.org>
Tue, 23 Jan 2007 12:47:15 +0000 (23 12:47 +0000)
committerMichael Olson <mwolson@gnu.org>
Tue, 23 Jan 2007 12:47:15 +0000 (23 12:47 +0000)
tree171f434dc2f4884e76cc3290e1fa38e4ba657500
parentd233de68f692c95379083676e1a55340b1c8412e
Fix paragraph detection near <example> tag

2007-01-23  Michael Olson  <mwolson@gnu.org>

* lisp/muse-publish.el (muse-publish-ensure-block-tag): New macro
that ensures that at least one blank line exists at the given
position.  This is used to avoid paragraph detection problems when
block-level tags like <example> immediately follow a paragraph.
Thanks to Hans Ekbrand for the report.
(muse-publish-example-tag): Use it.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-276
ChangeLog
lisp/muse-publish.el