From 4b2fe9d0b8cdaa8c7dc9ed28fa99366dd76e414f Mon Sep 17 00:00:00 2001 From: Martin Frost Date: Tue, 5 May 2015 23:32:38 +0200 Subject: [PATCH] use :text as format --- lib/isn/extension.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isn/extension.ex b/lib/isn/extension.ex index bb522ea..d97142c 100644 --- a/lib/isn/extension.ex +++ b/lib/isn/extension.ex @@ -11,7 +11,7 @@ defmodule Isn.Extension do do: Enum.reduce(@isn, [], fn(t, ack) -> ack ++ [type: t] end) def format(_), - do: :string + do: :text def encode(%TypeInfo{type: type}, binary, _types, _opts) when type in @isn, do: binary