From: Ben Sherratt Date: Wed, 24 Jan 2024 16:25:06 +0000 (+0000) Subject: use site url X-Git-Url: https://git.bts.cx/cx.git/commitdiff_plain/eb6721b2250c796d202a16d4f9d01398b2acabe2?ds=inline use site url --- diff --git a/cx/lib/markdown.php b/cx/lib/markdown.php index 8cdc235..00d46c2 100644 --- a/cx/lib/markdown.php +++ b/cx/lib/markdown.php @@ -26,7 +26,7 @@ class ExtendedParsedown extends Parsedown { 'element' => array( 'name' => 'img', 'attributes' => array( - 'src' => cx_url($permalink), + 'src' => cx_url_site($permalink), 'alt' => $image->alt_text, ), ),