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

--wrap=auto | preserve| none" doesn't make any difference (HTML to OPML) #9297

Closed
akuma73 opened this issue Jan 1, 2024 · 5 comments
Closed
Labels

Comments

@akuma73
Copy link

akuma73 commented Jan 1, 2024

Explain the problem.
Include the exact command line you used and all inputs necessary to reproduce the issue. Please create as minimal an example as possible, to help the maintainers isolate the problem. Explain the output you received and how it differs from what you expected.

thank you for your great application.
I tried to convert my HTML to OPML by pypandoc.
I want --wrap=preserve. but, "auto" option is forcibly turned on.
I tried my HTML text in your demo site, then result was same.

Pandoc version?
What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue.)
pandoc version = 3.1.11

@akuma73 akuma73 added the bug label Jan 1, 2024
@akuma73
Copy link
Author

akuma73 commented Jan 1, 2024

python version=3.9.6
MacOS Sonoma version=14.2.1

@jgm
Copy link
Owner

jgm commented Jan 2, 2024

The markdown bits that represent the content blocks in OPML are generated by calling the markdown writer with default writer options. (This means wrapping is enabled, and no markdown extensions are enabled.)

I think it might make better sense to use the same writer options that the OPML writer is called with, but I need to look into some possible ramifications of this change.

@akuma73
Copy link
Author

akuma73 commented Jan 4, 2024

thanks for your reply.

  1. How can I do "-wrap-preserve" for OPML this time. any recommendation?
  2. Do you have a plan to enable this?

I really appreciate your great app.

@jgm
Copy link
Owner

jgm commented Jan 4, 2024

I will look into it. There's nothing you can do now, though.

@akuma73
Copy link
Author

akuma73 commented Jan 5, 2024

thank you for your kindness

@jgm jgm closed this as completed in 5cff32c Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants