diff options
Diffstat (limited to 'src/tutorial.sml')
-rw-r--r-- | src/tutorial.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tutorial.sml b/src/tutorial.sml index 1b8834f5..dd2d3f7d 100644 --- a/src/tutorial.sml +++ b/src/tutorial.sml @@ -251,13 +251,13 @@ fun doUr fname = val s = readAll inf val _ = Unix.reap proc - val (befor, after) = Substring.position "<sc>" s + val (befor, after) = Substring.position "<body>" s in if Substring.isEmpty after then print ("Bad output for " ^ fname ^ "! [1]\n") else let - val after = Substring.slice (after, 4, NONE) + val after = Substring.slice (after, 6, NONE) val (befor, after) = Substring.position "</body>" after in if Substring.isEmpty after then |