Skip to content

Commit

Permalink
Split lines for DFD output
Browse files Browse the repository at this point in the history
  • Loading branch information
Oskar Wickström committed Aug 20, 2015
1 parent dd80d70 commit c011656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataFlow/DFD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ convertFlow (C.Flow i1 i2 attrs) = do
let stepStr = color "#3184e4" $ bold $ printf "(%d) " s

asRows :: C.Value -> [String]
asRows (C.String s) = [s]
asRows (C.String s) = lines s
asRows (C.Array vs) = concatMap asRows vs

rowsToTable :: [String] -> String
Expand Down

0 comments on commit c011656

Please sign in to comment.