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

move sanitize to its own exporter option #89

Open
janetriley opened this issue Jun 6, 2017 · 2 comments
Open

move sanitize to its own exporter option #89

janetriley opened this issue Jun 6, 2017 · 2 comments
Assignees

Comments

@janetriley
Copy link
Collaborator

export.py's --scheme argument accepts json and html, as well as sanitize levels raw, safe, and text.

Move sanitize levels to their own argument and ensure they get passed in properly to Post.htmlize().

@janetriley janetriley self-assigned this Jun 6, 2017
@janetriley
Copy link
Collaborator Author

What should the single-letter flag be? I was thinking of --sanitize but -S is already taken by scheme. --level and -L don't seem intuitive enough.

@bbengfort
Copy link
Member

Hmm, this is a tricky one. Would it be too weird to do --sanitize and -L? What about --sanitize and -z?

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

No branches or pull requests

2 participants