mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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. |
||
---|---|---|
.. | ||
adapters | ||
api | ||
apps | ||
config | ||
data | ||
helpers | ||
lib | ||
models | ||
public | ||
services | ||
web |