Skip to content

Preserve author links in article content#269

Open
hiradary wants to merge 1 commit into
kepano:mainfrom
hiradary:fix-author-links-content
Open

Preserve author links in article content#269
hiradary wants to merge 1 commit into
kepano:mainfrom
hiradary:fix-author-links-content

Conversation

@hiradary
Copy link
Copy Markdown

Summary

Fixes #252.

This removes the broad /author/ href selectors that were stripping legitimate article-body links, and replaces the lost metadata cleanup with a narrower content-pattern heuristic for compact pre-content author byline lists.

Testing

  • npm test

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.

[href*="/author/"] selector strips content links, not just metadata

1 participant