]> git.bts.cx Git - cx.git/blobdiff - cx/lib/markdown.php
use site url
[cx.git] / cx / lib / markdown.php
index 8cdc235b975e59dea48b6a0c5688a6024fb026b9..00d46c29f64dd3d54dc257d6818f9fbd357714b9 100644 (file)
@@ -26,7 +26,7 @@ class ExtendedParsedown extends Parsedown {
                                'element' => array(
                                        'name' => 'img',
                                        'attributes' => array(
                                'element' => array(
                                        'name' => 'img',
                                        'attributes' => array(
-                                               'src' => cx_url($permalink),
+                                               'src' => cx_url_site($permalink),
                                                'alt' => $image->alt_text,
                                        ),
                                ),
                                                'alt' => $image->alt_text,
                                        ),
                                ),