diff options
| author | aarne <aarne@cs.chalmers.se> | 2006-03-21 13:57:38 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2006-03-21 13:57:38 +0000 |
| commit | e7f325f975eb7e816e04d06e35e0bd6dd16776ed (patch) | |
| tree | 058833498fce8fc775fb8d126bb01eab8ffbf45a /src/GF/Text/Text.hs | |
| parent | da61e709ad08d059f5a2a604eb98ff82a5a15e5e (diff) | |
unlexer bug ; "vilka" ; lib path warning ; p -lines result
Diffstat (limited to 'src/GF/Text/Text.hs')
| -rw-r--r-- | src/GF/Text/Text.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Text/Text.hs b/src/GF/Text/Text.hs index 3e1b9c46d..a2a69f70c 100644 --- a/src/GF/Text/Text.hs +++ b/src/GF/Text/Text.hs @@ -60,7 +60,7 @@ formatAsCodeLit :: String -> String formatAsCodeLit = formatAsCode . unwords . map unStringLit . words formatAsText,formatAsHTML,formatAsLatex :: String -> String -formatAsText = formatAsTextGen (=="&-") (=="&-") +formatAsText = formatAsTextGen (const False) (=="&-") formatAsHTML = formatAsTextGen (\s -> take 1 s == "<" || last s == '>') (const False) formatAsLatex = formatAsTextGen ((=="\\") . take 1) (const False) |
