summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-19 23:45:02 +0100
committerGravatar Tom Willemse2014-01-19 23:45:02 +0100
commit97d248c1010ce2d9df477af1b8b0746ce4c62051 (patch)
treee4165032b7c25e96f27c235645789ead6a214a37
parented6341fff0000568000f728b21d25038fca33d9d (diff)
downloadedocs-97d248c1010ce2d9df477af1b8b0746ce4c62051.tar.gz
edocs-97d248c1010ce2d9df477af1b8b0746ce4c62051.zip
Remove some superfluous <p> tags
-rw-r--r--edocs.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/edocs.el b/edocs.el
index e13fbe2..9bab7ee 100644
--- a/edocs.el
+++ b/edocs.el
@@ -251,9 +251,8 @@ parts of the module."
(insert name)))
(insert " " (if (consp doc) (car doc) ""))
(edocs--with-tag "div" '(("class" . "docstring"))
- (edocs--with-tag "p" nil
- (insert (or (edocs--format-doc doc known-symbols)
- "Not documented."))))))
+ (insert (or (edocs--format-doc doc known-symbols)
+ "Not documented.")))))
(edocs--normalize docs))))
(defun edocs-generate ()
@@ -275,8 +274,7 @@ into a buffer called `*edocs*' and switches to that buffer."
(edocs--with-tag "div" '(("class" . "container"))
(edocs--insert-title (edocs--module-name binfo)
(edocs--module-summary binfo))
- (edocs--with-tag "p" nil
- (insert (edocs--format-commentary commentary symbols)))
+ (insert (edocs--format-commentary commentary symbols))
(insert "<h2>API</h2>")
(mapc (lambda (spec) (edocs--format-symbol spec symbols))
symbol-specs))