Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove disableCatdocWordWrap #54

Merged
merged 1 commit into from
Aug 11, 2015

Conversation

tommygnr
Copy link
Contributor

Having this as an option makes no sense. We should always pass the -w
flag to catdoc to prevent it inserting line breaks every 72 characters.
With -w passed catdoc will emit a line break whenever it encounters one
in the document (e.g. at the end of a paragraph.)

Control over whether the line breaks are included in the final output is
then determined by the preserveLineBreaks option

See #39

Having this as an option makes no sense. We should always pass the -w
flag to catdoc to prevent it inserting line breaks every 72 characters.
With -w passed catdoc will emit a line break whenever it encounters one
in the document (e.g. at the end of a paragraph.)

Control over wether the line breaks are included in the final output is
then determined by the preserveLineBreaks option
tommygnr pushed a commit to tommygnr/textract that referenced this pull request Aug 11, 2015
The changes made in dbashford#39
clobber any option passed at the command line. In light of
dbashford#54 this code is unnecessary
anyway.
@dbashford dbashford merged commit 9cdd245 into dbashford:master Aug 11, 2015
@dbashford
Copy link
Owner

Good point, and thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants