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'm working on migrating a site to Frog, including archives of old comments. One thing I'd like to do is to allow old Wordpress comments to be archived, and part of that is pointing at the Gravatar. Unfortunately, Frog is rewriting even absolute URIs for images, breaking the Gravatar links.
It seems that the culprit is likely here. I don't entirely understand the purpose of this line, but perhaps it should only be rewriting the image URI if it does not have "http://" or "https://" as a prefix?
In the meantime, I can hack around this with some clever inline CSS.
The text was updated successfully, but these errors were encountered:
Scribble sources can generate image files. When scribble renders to HTML, it puts these image files in a subdirectory of the .html file. We move them. The code you linked to is adjusting the URLs accordingly.
That's my recollection of the intended purpose of the code. It's likely that your understanding of it is >= mine, today. :) So if you're motivated to prepare a pull request, I'd be happy to accept it. I think you might be right about distinguishing absolute vs. relative URIs here.
I'm working on migrating a site to Frog, including archives of old comments. One thing I'd like to do is to allow old Wordpress comments to be archived, and part of that is pointing at the Gravatar. Unfortunately, Frog is rewriting even absolute URIs for images, breaking the Gravatar links.
It seems that the culprit is likely here. I don't entirely understand the purpose of this line, but perhaps it should only be rewriting the image URI if it does not have "http://" or "https://" as a prefix?
In the meantime, I can hack around this with some clever inline CSS.
The text was updated successfully, but these errors were encountered: