--- a/src/Pure/Thy/present.ML Sat Jan 13 15:49:59 2018 +0100
+++ b/src/Pure/Thy/present.ML Sat Jan 13 19:50:37 2018 +0100
@@ -191,7 +191,7 @@
let
val script =
"isabelle document -d " ^ File.bash_path dir ^ " -o " ^ Bash.string format ^
- " -n " ^ Bash.string name ^ " -t " ^ Bash.string tags;
+ " -n " ^ Bash.string name ^ (if tags = "" then "" else " -t " ^ Bash.string tags);
val doc_path = Path.appends [dir, Path.parent, Path.basic name |> Path.ext format];
val _ = if verbose then writeln script else ();
val {out, err, rc, ...} = Bash.process script;