Skip to content

Instantly share code, notes, and snippets.

@ashalan
Last active August 29, 2015 14:27
Show Gist options
  • Save ashalan/fff607ac794bdd51ebd5 to your computer and use it in GitHub Desktop.
Save ashalan/fff607ac794bdd51ebd5 to your computer and use it in GitHub Desktop.
diff --git a/linkit.module b/linkit.module
index 805ba9a..fe4e924 100644
--- a/linkit.module
+++ b/linkit.module
@@ -1138,7 +1138,7 @@ function linkit_get_profile_type($type) {
function linkit_get_insert_plugin_processed_path(LinkitProfile $profile, $uri, $options = array()) {
switch ($profile->data['insert_plugin']['url_method']) {
case LINKIT_URL_METHOD_RAW:
- $path = $uri;
+ $path = url($uri, $options);
break;
case LINKIT_URL_METHOD_RAW_SLASH:
$options['alias'] = TRUE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment