Skip to content

Commit

Permalink
Fix out-of-order HTML output
Browse files Browse the repository at this point in the history
Thanks to Moogen Tian for the report and a patch.
  • Loading branch information
jrblevin committed Aug 28, 2015
1 parent 8d9944f commit b462983
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -4544,6 +4544,7 @@ Standalone XHTML output is identified by an occurrence of

(defun markdown-add-xhtml-header-and-footer (title)
"Wrap XHTML header and footer with given TITLE around current buffer."
(goto-char (point-min))
(insert "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n"
"\t\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\n"
Expand Down

0 comments on commit b462983

Please sign in to comment.