-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Fix ApiMarkdown::renderLink()
#287
Conversation
Normalizes `.md` URLs, see yiisoft#286
@rob006 what's wrong? |
@WinterSilence You didn't explained your change and I'm not sure how these changes could help with #286. Right now #286 is weird, because there are 2 nearly identical links, but only one of them works. Did you figure out what is so special about second link that it is incorrectly rendered? |
link don't have Prefix is bad idea, because prefixed links not works in github wiki.
i don't want create method with duplicated code |
First link does not have |
@rob006 what link are you talking about? |
"Filtering Data" is ok, only "Separate Filter Form" is broken. |
@rob006 aaa... you about this: greedy condition in RegExp |
Thanks for contributing and sorry for the late review again. I checked these changes locally and unfortunately they do nothing. Both before and after them the last mentioned problematic link is rendered like this: <a href="guide-output-data-widgets.html#separate-filter-form">Separate Filter Form</a> So I guess either the rendered version shown at production site is outdated or there is some additional post processing done at site level. The bottom line is it can't be merged in the current state. |
@arogachev how you test it?
"site" don't don't post-fix results |
@arogachev 1. this PR changed only |
@WinterSilence Can you provide failing unit tests and then show how your change fixes it? |
Normalizes
.md
URLs