diff options
author | Y. Wang <yw05@forksworld.de> | 2022-08-10 15:27:10 +0200 |
---|---|---|
committer | Y. Wang <yw05@forksworld.de> | 2022-08-10 15:41:39 +0200 |
commit | 46cc19964a59dcbbf17b0f14adf47122fbbc6aa5 (patch) | |
tree | f3f64ba2553178850c2f7e91a39ae9a53b361d8e /assets/manual | |
parent | 69d8388c672d695f2031ebc13ac4a83ab220b93f (diff) | |
download | advtrains-46cc19964a59dcbbf17b0f14adf47122fbbc6aa5.tar.gz advtrains-46cc19964a59dcbbf17b0f14adf47122fbbc6aa5.tar.bz2 advtrains-46cc19964a59dcbbf17b0f14adf47122fbbc6aa5.zip |
Fix CI error with RawInline in lists
Diffstat (limited to 'assets/manual')
-rw-r--r-- | assets/manual/filter_man.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/manual/filter_man.lua b/assets/manual/filter_man.lua index 0178462..bdb1b33 100644 --- a/assets/manual/filter_man.lua +++ b/assets/manual/filter_man.lua @@ -19,16 +19,16 @@ add_filter { for k, v in pairs(seealso) do seealso[k] = v[1].text end - blocks:insert(pandoc.Str(table.concat(seealso, ", "))) + blocks:insert(pandoc.Plain(table.concat(seealso, ", "))) else local list = {} for _, i in ipairs(seealso) do local page = i[1].text local pgname, pgsection = string.match(page, "^([^%)]+)%(([^%)]+)%)$") - local item = pandoc.Str(page) + local item = pandoc.Plain(page) if is_latex and pgname and pgsection then pgname = pgname:gsub("_","\\string_") - item = pandoc.RawInline("latex", string.format("\\manref{%s}{%s}", pgname, pgsection)) + item = pandoc.RawBlock("latex", string.format("\\manref{%s}{%s}", pgname, pgsection)) end table.insert(list, item) end |