Permalink
Browse files

oops

  • Loading branch information...
1 parent 9c86999 commit 11e9d051740159ac03b3e567c30b958f3a08fa7c @ivkosh committed Jul 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/rdbl.erl
View
@@ -447,8 +447,8 @@ to_abs_url({<<"src">>, U}, Ctx) -> {<<"src">>, list_to_binary(full_url(Ctx, bi
to_abs_url({<<"href">>, U}, Ctx) -> {<<"href">>, list_to_binary(full_url(Ctx, binary_to_list(U)))};
to_abs_url(A, _) -> A.
-to_abs_url_browser_mode({<<"src">>, U}, Ctx) -> {<<"src">>, list_to_binary(?MY_API_PATH ++ full_url(Ctx, binary_to_list(U)))};
-to_abs_url_browser_mode({<<"href">>, U}, Ctx) -> {<<"href">>, list_to_binary(full_url(Ctx, binary_to_list(U)))};
+to_abs_url_browser_mode({<<"src">>, U}, Ctx) -> {<<"src">>, list_to_binary(full_url(Ctx, binary_to_list(U)))};
+to_abs_url_browser_mode({<<"href">>, U}, Ctx) -> {<<"href">>, list_to_binary(?MY_API_PATH ++ full_url(Ctx, binary_to_list(U)))};
to_abs_url_browser_mode(A, _) -> A.
%% @spec get_parent_ref(scored_html_node()) -> reference()

0 comments on commit 11e9d05

Please sign in to comment.