Fix roff ms syntax highlighting definitions.
Begin each string definition with `\&`. Closes #8175. Thanks to Branden Robinson.
This commit is contained in:
parent
05ab2060d6
commit
cf57a8344a
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ hexColor (RGB r g b) = T.pack $ printf "%02x%02x%02x" r g b
|
|||
|
||||
toMacro :: Style -> TokenType -> Doc Text
|
||||
toMacro sty toktype =
|
||||
nowrap (literal ".ds " <> literal (tshow toktype) <> literal " " <>
|
||||
nowrap (literal ".ds " <> literal (tshow toktype) <> literal " \\&" <>
|
||||
setbg <> setcolor <> setfont <>
|
||||
literal "\\\\$1" <>
|
||||
resetfont <> resetcolor <> resetbg)
|
||||
|
|
Loading…
Add table
Reference in a new issue