Skip to content

Commit

Permalink
avoid nroff errors in text extracted from README
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jun 27, 2024
1 parent c0755ab commit ab2f3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function docinit_hook()
local _,desc_start = find(readme,"Overview\n--------")
local desc_end,_ = find(readme,"Issues")

local overview = readme:sub(desc_start + 2,desc_end - 2):gsub("[`_]","")
local overview = readme:sub(desc_start + 8,desc_end - 2):gsub("[_]",""):gsub("`",'"'):gsub("[*] ","\n * ")
insert(man_t,overview)

local cmd = "texlua ./" .. module .. ".lua --help"
Expand Down

0 comments on commit ab2f3cc

Please sign in to comment.