You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Autolink and TypographicExtension and I found that some URL's are incorrectly linked. For example link https://youtu.be/L1--OW4j0Pw is converted to https://youtu.be/L1–OW4j0Pw. Autolink then chooses only first part of link, https://youtu.be/L1.
I expect that typography extension do not replace -- in URL.
The text was updated successfully, but these errors were encountered:
@maxcom, yes it is an omission in auto-link processing. Each text node is taken separately for link processing.
Typographic extension breaks up a single text node to insert a typographic node.
I added code to auto-link extension to combine following TypographicText nodes and Text nodes if they don't have spaces between them and process the combined text.
All nodes involved in processing are removed from the AST, except trailing ones which had no links.
It may have side-effect of removing valid typographic nodes but I will address this as the test cases are found.
@maxcom, found the use case causing removal of typographic text nodes. #301
Fixed for next release. If it is an issue you are encountering please let me know and I will make a release. Otherwise, I will wait to accumulate a few other bug fixes before releasing.
I use Autolink and TypographicExtension and I found that some URL's are incorrectly linked. For example link
https://youtu.be/L1--OW4j0Pw
is converted tohttps://youtu.be/L1–OW4j0Pw
. Autolink then chooses only first part of link,https://youtu.be/L1
.I expect that typography extension do not replace
--
in URL.The text was updated successfully, but these errors were encountered: