]> git.bts.cx Git - cx.git/commitdiff
use site url
authorBen Sherratt <redacted>
Wed, 24 Jan 2024 16:25:06 +0000 (16:25 +0000)
committerBen Sherratt <redacted>
Wed, 24 Jan 2024 16:25:06 +0000 (16:25 +0000)
cx/lib/markdown.php

index 8cdc235b975e59dea48b6a0c5688a6024fb026b9..00d46c29f64dd3d54dc257d6818f9fbd357714b9 100644 (file)
@@ -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,
                                        ),
                                ),