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

extract_html method removes some wanted characters #19

Open
jasoncorum opened this issue Jan 18, 2019 · 0 comments
Open

extract_html method removes some wanted characters #19

jasoncorum opened this issue Jan 18, 2019 · 0 comments

Comments

@jasoncorum
Copy link
Contributor

In the extract_html method there's are some expath methods called to remove a large set of characters:

doc.xpath("//h2[translate(text(),concat('~!@#\{$%^&*()_+-=}-";:<>,.?/|[]',"'"),'')='#{title}']")`

We recently wanted to use parens and a dash in an OpenVault Special Collection tab, but their removal in CMLess made it unable to associate the records with the tab.

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