remove laantas-script flags in glosses
This commit is contained in:
parent
97c3457744
commit
3237c127e0
1 changed files with 4 additions and 3 deletions
|
@ -81,6 +81,7 @@ splitInlines is = filter (not . null) $ go is where
|
||||||
fromList is1 : splitInlines (dropWhile (== Space) is')
|
fromList is1 : splitInlines (dropWhile (== Space) is')
|
||||||
|
|
||||||
underlines :: [Inline] -> [Inline]
|
underlines :: [Inline] -> [Inline]
|
||||||
underlines = concatMap \case
|
underlines = concatMap underlineStr . takeWhile (/= Str "|") where
|
||||||
|
underlineStr = \case
|
||||||
Str txt -> Spans.underlines txt
|
Str txt -> Spans.underlines txt
|
||||||
i -> [i]
|
i -> [i]
|
||||||
|
|
Loading…
Reference in a new issue