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

Case insensitive replacement of synopsis tags #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jmeosbn
Copy link

@jmeosbn jmeosbn commented Dec 27, 2017

Also replace tags for pages that use capital letters - the below link has <P> tag in description, and <I> elsewhere.

Firefox normalises these so they don't show in the web inspector tools - the <P>... shows as <p>...</p> - I couldn't see anything to achieve the same in python without additional libraries (or writing or simple HTMLParser).

Also, the second line could be relaxed/extended to cover unforeseen tags?

@jmeosbn jmeosbn changed the title Case insensitive replacement with regex Case insensitive replacement of synopsis tags Dec 27, 2017
@jmeosbn jmeosbn force-pushed the pull-requests/fix-capital-tags branch 3 times, most recently from 5c03554 to 9bcdfa1 Compare December 27, 2017 18:02
@jmeosbn jmeosbn force-pushed the pull-requests/fix-capital-tags branch from 9bcdfa1 to 846686c Compare December 27, 2017 18:05
@jmeosbn jmeosbn force-pushed the pull-requests/fix-capital-tags branch from ed2dffa to 4bcca23 Compare December 30, 2017 23:57
@jmeosbn
Copy link
Author

jmeosbn commented Jan 7, 2018

Note: I have a better fix for this but it's part of another pull request I'm yet to make (as I don't want to leave conflicting requests up simultaneously).

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