diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-04-09 11:44:58 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-04-09 12:15:36 -0700 |
commit | 9c3a7023014f961197bc27ff8360ce9e1b1d6c29 (patch) | |
tree | 12f7238407fb475e026eca84cc01630a3a154a8f /src/cmark.h | |
parent | 0b6805c0c544cfd8973f457142434127cac4b3a5 (diff) |
Fixed a number of issues relating to line wrapping.
- Extend CMARK_OPT_NOBREAKS to all renderers and add `--nobreaks`.
- Do not autowrap, regardless of width parameter, if CMARK_OPT_NOBREAKS
is set.
- Fixed CMARK_OPT_HARDBREAKS for LaTeX and man renderers.
- Ensure that no auto-wrapping occurs if CMARK_OPT_NOBREAKS is enabled,
or if output is CommonMark and CMARK_OPT_HARDBREAKS is enabled.
- Updated man pages.
Diffstat (limited to 'src/cmark.h')
-rw-r--r-- | src/cmark.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmark.h b/src/cmark.h index c98e18e..40aa465 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -519,7 +519,7 @@ char *cmark_render_latex(cmark_node *root, int options, int width); */ #define CMARK_OPT_SAFE (1 << 3) -/** Render `softbreak` elements as spaces (HTML only). +/** Render `softbreak` elements as spaces. */ #define CMARK_OPT_NOBREAKS (1 << 4) |