Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ module.
--remove-internal-links PRESERVE_INTERNAL_LINKS
Remove links that start with a '#' like anchors.
--exclude-pseudoclasses
Pseudo classes like p:last-child', p:first-child, etc
Pseudo classes like p:last-child', p:first-child, :nth-child, etc
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can you make this change in __main__.py too? Line ~53.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I already did it.

--preserve-style-tags
Do not delete <style></style> tags from the html
document.
Expand Down
2 changes: 1 addition & 1 deletion premailer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def main(args):
parser.add_argument(
"--exclude-pseudoclasses",
default=False,
help="Pseudo classes like p:last-child', p:first-child, etc",
help="Pseudo classes like p:last-child', p:first-child, :nth-child, etc",
action="store_true",
dest="exclude_pseudoclasses",
)
Expand Down