Skip to content
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

Added script to fix linked markdown images mangled by URL transforms #5

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kevinansfield
Copy link
Member

refs https://github.com/TryGhost/Team/issues/596

  • fetch all posts and pages from the API
  • check mobiledoc for existence of linked images
  • fix any linked images that have mangled markup
  • fix any URLs that weren't correctly transformed from relative to absolute (stored with __GHOST_URL__ internally)

@kevinansfield kevinansfield force-pushed the fix-markdown-linked-images branch 3 times, most recently from 6098b28 to 0b34d29 Compare April 13, 2021 13:24
refs TryGhost/Product#596

- fetch all posts and pages from the API
- check mobiledoc for existence of linked images
- fix any linked images that have mangled markup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant