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 baseurl functionality to inplace urls #113

Merged
merged 5 commits into from
Jan 31, 2016
Merged

add baseurl functionality to inplace urls #113

merged 5 commits into from
Jan 31, 2016

Conversation

ZumZoom
Copy link
Contributor

@ZumZoom ZumZoom commented Jan 28, 2016

No description provided.

@Alir3z4
Copy link
Owner

Alir3z4 commented Jan 28, 2016

@ZumZoom 👍 for this.
I like it.

Could you please also follow https://github.com/Alir3z4/html2text/blob/master/docs/contributing.md so we can merge it right away ?

@ZumZoom
Copy link
Contributor Author

ZumZoom commented Jan 31, 2016

Done.

Also patched the same thing with tags.

@Alir3z4
Copy link
Owner

Alir3z4 commented Jan 31, 2016

Awesome, I'll be waiting to travis to finish its job and I'll be merging right away.

if base_fn == 'inplace_baseurl_substitution.html':
module_args['baseurl'] = 'http://brettterpstra.com'
module_args['body_width'] = 0
# there is no way to specify baseurl in cli :(
Copy link
Owner

Choose a reason for hiding this comment

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

@ZumZoom Would be good to add such feature?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Alir3z4 It depends on whether people use cli with saved html pages or not.
I use cli occasionally for testing purposes with http://* addresses only. So personally I don't need such feature.

Alir3z4 added a commit that referenced this pull request Jan 31, 2016
add baseurl functionality to inplace urls

Thanks Mikhail Melnik @ZumZoom
@Alir3z4 Alir3z4 merged commit 54ea451 into Alir3z4:master Jan 31, 2016
@Alir3z4
Copy link
Owner

Alir3z4 commented Jan 31, 2016

@ZumZoom Merged the pull-request.
Thanks for the great contribution and code.

@coveralls
Copy link

coveralls commented Jan 15, 2018

Coverage Status

Coverage decreased (-0.1%) to 97.1% when pulling fbe1b76 on ZumZoom:master into d546297 on Alir3z4:master.

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.

3 participants