Commit 9450a27f authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix a bug in the unlitter

If we see a birdtrack while we are in latex mode, then we stay in latex
mode - don't change into bird mode!
parent 48660998
......@@ -119,7 +119,7 @@ reclassify = blank -- begin in blank state
latex [] = []
latex (EndCode :ls) = Blank "" : comment ls
latex (BeginCode :_ ) = [Error "\\begin{code} in code section"]
latex (BirdTrack l:ls) = Ordinary ('>':l) : bird ls
latex (BirdTrack l:ls) = Ordinary ('>':l) : latex ls
latex ( l:ls) = l : latex ls
blank [] = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment