mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
b0efad7ac9
closes #10949 This updates the getImageWithSize function in the img_url helper to consider relative paths WITHOUT a leading slash the "base case". If a path does have a leading slash, we remove it, pass it through the function again, and then prepend the slash. |
||
---|---|---|
.. | ||
apps | ||
helpers | ||
meta | ||
services |