amalgame/commit

Improved: literal text handling

authorJacco van Ossenbruggen
Fri Sep 22 20:03:37 2017 +0200
committerJacco van Ossenbruggen
Fri Sep 22 20:03:37 2017 +0200
commit43c03493a5bcf9c6cd31337eff54eb92bcbbbd3f
tree6cef0554c8d008aba1fde5caa7141487900d66f4
parentd34b35ed9c4239756ac4426798feb4c2a112d886
Diff style: patch stat
diff --git a/lib/amalgame/amalgame_modules.pl b/lib/amalgame/amalgame_modules.pl
index 89743b9..c5c0fbe 100644
--- a/lib/amalgame/amalgame_modules.pl
+++ b/lib/amalgame/amalgame_modules.pl
@@ -110,10 +110,11 @@ amalgame_module_property(URI, explanation_graph(ExplainURI)) :-
 %	parameters string in Process.
 
 process_options(Process, Module, Options) :-
-	rdf(Process, amalgame:parameters, literal(ParamString)),
+	rdf(Process, amalgame:parameters, ParamLiteral),
+        literal_text(ParamLiteral, ParamText),
 	!,
 	module_options(Module, Options, Parameters),
-	parse_url_search(ParamString, Search0),
+	parse_url_search(ParamText, Search0),
 	expand_options(Search0, Search),
 	Request = [search(Search)] ,
 	http_parameters(Request, Parameters).