equal
deleted
inserted
replaced
225 | "quitpgip" => Quitpgip { } |
225 | "quitpgip" => Quitpgip { } |
226 |
226 |
227 (* We allow sending proper document markup too; we map it back to dostep *) |
227 (* We allow sending proper document markup too; we map it back to dostep *) |
228 (* and strip out metainfo elements. Markup correctness isn't checked: this *) |
228 (* and strip out metainfo elements. Markup correctness isn't checked: this *) |
229 (* is a compatibility measure to make it easy for interfaces. *) |
229 (* is a compatibility measure to make it easy for interfaces. *) |
230 | x => if (x mem PgipMarkup.doc_markup_elements) then |
230 | x => if member (op =) PgipMarkup.doc_markup_elements x then |
231 if (x mem PgipMarkup.doc_markup_elements_ignored) then |
231 if member (op =) PgipMarkup.doc_markup_elements_ignored x then |
232 raise NoAction |
232 raise NoAction |
233 else |
233 else |
234 Dostep { text = xmltext data } (* could separate out Doitem too *) |
234 Dostep { text = xmltext data } (* could separate out Doitem too *) |
235 else raise Unknown) |
235 else raise Unknown) |
236 handle Unknown => NONE | NoAction => NONE |
236 handle Unknown => NONE | NoAction => NONE |