Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Unescapes hash section with present to account for url-encoded c…
…hars Sections with unreserverd characters will appear url-encoded and need to be unescaped before using it. Wikipedia generates 2 different spans in this case in the same page, one with an id resulting of replacing the % symbols with . and the other with the decoded version of the string. For example, for /wiki/foo#A%C3%A1A it will generate: <span id="A.C3.A1A"></span> <span id="AáA">AáA</span> Unescaping the `m_url_hash_name` should work in all cases to target the proper section span.
- Loading branch information