-
Notifications
You must be signed in to change notification settings - Fork 3
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
Data migration: Finish baseurl conversion #1015
Comments
Even after #1013, the square bracket links BEFORE baseurl shortcodes are being escaped. See for example https://github.mit.edu/ocw-content-rc/18.04-fall-1999/commit/97032ead4f7bf3810c758522b30451dfc7538f00#diff-9674b1ed65559a66e97cbc6ada224051L24-R24 Consequences:
BUT: Since we are working on replacing baseurl with resource_link anyway...one option is to not worry about this and just alter to replacement regex to catch both the escaped version ( |
Closed in favor of Closing this in favor of #1233 |
Finish the
baseurl -> resource_link
conversion started in #1002Known remaining edge cases:
links with document fragments, e.g.,
[calendar]({{< baseurl >}}/pages/syllabus#Calendar)
links where the link text has square brackets or newlines (not double newlines—those aren't links according to Markdown).
links where the link casing is different from dirpath / filename casing, e.g.,
[Syllabus]({{< baseurl >}}/path/to/Syllabus)
where the syllabus filename issyllabus
notSyllabus
.Links where the title is an image, e.g.
[]({{< baseurl >}}/resources/bounds3)
Related:
The text was updated successfully, but these errors were encountered: