Skip to content

Add unwrap_links and unwrap_tag filters - #25

Open
thouters wants to merge 1 commit into
pelican-plugins:mainfrom
thouters:pr/unwrap-links-tag
Open

Add unwrap_links and unwrap_tag filters#25
thouters wants to merge 1 commit into
pelican-plugins:mainfrom
thouters:pr/unwrap-links-tag

Conversation

@thouters

Copy link
Copy Markdown

This commit adds a dependency on beautifulsoup4, it adds two filters, one to remove link HTML tags (unwrap_links), and one that can be used to remove any tag given its name (unwrap_tag). Only the html tags are removed, the child content is preserved.

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.

1 participant