aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Edwards <red@treesandclouds.net>2017-12-28 15:29:53 -0800
committerGitHub <noreply@github.com>2017-12-28 15:29:53 -0800
commit560855dd839f4627de479c700b087ce7600f244a (patch)
treee08c28dc088a9e6b55fd074fa99a586bc64da69c
parent98fd9a978ab82a8738f03583c19fafc54097d035 (diff)
parenteabb47335a1bc0002e8bfc5d0a962b3f68eadc5d (diff)
downloadpandoc-560855dd839f4627de479c700b087ce7600f244a.tar.gz
Merge pull request #1 from iredwards/iredwards-patch-1
clarify default html output for --section-divs
-rw-r--r--MANUAL.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 87c30ed9d..3f8cc6944 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -855,8 +855,8 @@ Options affecting specific writers
`--section-divs`
-: Wrap sections in `<div>` tags (or `<section>` tags in HTML5),
- and attach identifiers to the enclosing `<div>` (or `<section>`)
+: Wrap sections in `<section>` tags (or `<div>` tags for `html4`),
+ and attach identifiers to the enclosing `<section>` (or `<div>`)
rather than the header itself. See
[Header identifiers], below.
@@ -1798,9 +1798,9 @@ Note, however, that this method of providing links to sections works
only in HTML, LaTeX, and ConTeXt formats.
If the `--section-divs` option is specified, then each section will
-be wrapped in a `div` (or a `section`, if `html5` was specified),
-and the identifier will be attached to the enclosing `<div>`
-(or `<section>`) tag rather than the header itself. This allows entire
+be wrapped in a `section` (or a `div`, if `html4` was specified),
+and the identifier will be attached to the enclosing `<section>`
+(or `<div>`) tag rather than the header itself. This allows entire
sections to be manipulated using JavaScript or treated differently in
CSS.