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

Link text is not included in cleaned text #256

Open
smilledge opened this issue May 29, 2016 · 0 comments
Open

Link text is not included in cleaned text #256

smilledge opened this issue May 29, 2016 · 0 comments

Comments

@smilledge
Copy link

For example the following markup;

<a href="...">This is a link</a> and this is some text.

Will produce the following;

 and this is some text.

It would be nice to have the ability to extract the text from the <a> tag, and add it the the cleaned text. So we get a result link this;

This is a link and this is some text.

Alternatively, the ability to whitelist some HTML tags would be very useful.

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

No branches or pull requests

1 participant