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
|
||||||
Str txt -> Spans.underlines txt
|
underlineStr = \case
|
||||||
i -> [i]
|
Str txt -> Spans.underlines txt
|
||||||
|
i -> [i]
|
||||||
|
|
Loading…
Reference in a new issue