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 allow empty links in html plugin #2098

Merged
merged 1 commit into from Aug 22, 2018

Conversation

thisirs
Copy link
Contributor

@thisirs thisirs commented Mar 9, 2018

Motivation for changes:

Some links are sometimes empty but have a CSS style that make them visible (typically an icon) but html plugin ignores them

Detailed changes:

  • Add a allow_empty_links option in html plugin
  • Update skipping code

allow_empty_links is False by default for backward compatibility.

@@ -44,6 +44,7 @@ def validator(self):
advanced.accept('text', key='password')
advanced.accept('text', key='dump')
advanced.accept('text', key='title_from')
advanced.accept('boolean', key='allow_empty_links')
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure the name properly conveys the meaning

Copy link
Contributor Author

@thisirs thisirs Mar 9, 2018

Choose a reason for hiding this comment

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

I'm open to any suggestion for a better name... Maybe allow_empty_content?

@thisirs
Copy link
Contributor Author

thisirs commented Aug 22, 2018

Any chance this change be merged?

@liiight liiight merged commit 5c1a1ba into Flexget:develop Aug 22, 2018
@thisirs
Copy link
Contributor Author

thisirs commented Aug 22, 2018

Great! 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.

None yet

3 participants