-
Notifications
You must be signed in to change notification settings - Fork 6
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
Incorrect quote parsing with footnotes #134
Comments
Not currently reproducibly on |
|
Thank you @belbernard for the clarification. However, that is not how the processing works. The HTML is parsed using a DOM parser and then PHP-Typography just looks at the textnodes in the DOM, not at individual characters. I have locally implemented support for properly recognizing |
Never mind, I think I found an issue with the tests. |
Reported as a comment on the wp-Typography webpage:
à "l’âge" <sup><a>N112</a></sup>
is renderedà « l’âge« <sup><a>N112</a></sup>
. To fix this, the algorithm would have to take the adjacent element into account, not only adjacent text.The text was updated successfully, but these errors were encountered: