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

Add option to escape HTML instead of clobber (fix #149) #150

Merged
merged 1 commit into from Aug 11, 2020
Merged

Add option to escape HTML instead of clobber (fix #149) #150

merged 1 commit into from Aug 11, 2020

Conversation

ghost
Copy link

@ghost ghost commented Aug 11, 2020

This is my first time contributing to a Rust library :)

Copy link
Owner

@kivikakk kivikakk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thank you so much!

One comment about getting CLI argument passing working, and then we'll be good to go!

@@ -134,6 +134,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.parse()
.unwrap_or(0),
unsafe_: matches.is_present("unsafe"),
escape: matches.is_present("escape"),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to add a corresponding clap::Arg above to get this option from the command line.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the commit to include command-line support.

@kivikakk
Copy link
Owner

Looking good! Will merge and prepare a new release.

@kivikakk kivikakk merged commit b46e3a2 into kivikakk:master Aug 11, 2020
@kivikakk
Copy link
Owner

The release is done! Your changes are now part of comrak 0.8.1. Thank you so much! ❤️

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.

None yet

1 participant