mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
markup
This commit is contained in:
@@ -46,7 +46,7 @@ formatAsText = unwords . format . cap . words where
|
||||
cap [] = []
|
||||
major = flip elem (map singleton ".!?")
|
||||
minor = flip elem (map singleton ",:;")
|
||||
para = (=="<p>")
|
||||
para = (=="&-")
|
||||
|
||||
formatAsCode :: String -> String
|
||||
formatAsCode = rend 0 . words where
|
||||
|
||||
Reference in New Issue
Block a user