Skip to content

Commit

Permalink
docbook: Fix paragraph detection bug after <verse> tags
Browse files Browse the repository at this point in the history
* lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug involving
  paragraphs after literallayout markup, which is used in <verse> tags.
  Thanks to Shunsuke OKANO for the report.
  • Loading branch information
mwolson committed Aug 19, 2007
1 parent 7819e8e commit 39e89d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Expand Up @@ -2,6 +2,10 @@

* examples/mwolson: Update my example settings.

* lisp/muse-docbook.el (muse-docbook-markup-paragraph): Fix bug
involving paragraphs after literallayout markup, which is used in
<verse> tags. Thanks to Shunsuke OKANO for the report.

* lisp/muse-html.el (muse-html-src-tag): Use
muse-delete-and-extract-region.

Expand Down
3 changes: 2 additions & 1 deletion lisp/muse-docbook.el
Expand Up @@ -221,7 +221,8 @@ found in `muse-docbook-encoding-map'."
"<\\(/?\\)\\(para\\|footnote\\|literallayout\\)[ >]"
nil t)
(cond ((string= (match-string 2) "literallayout")
(throw 'bail-out t))
(and (not (string= (match-string 1) "/"))
(throw 'bail-out t)))
((string= (match-string 2) "para")
(and
(not (string= (match-string 1) "/"))
Expand Down

0 comments on commit 39e89d5

Please sign in to comment.