99aa26401f
Use liquid-lua to generate acknowledgements_epub.md, which is used by pandoc to build the EPUB book. Also stop using the '{%-' / '-%}' syntax, which liquid-lua does not support, in templates. Also add a vertical space between the first bullet in each bulleted list so pandoc recognizes bulleted lists as such. This has no effect on the the website.
5 lines
No EOL
169 B
Lua
5 lines
No EOL
169 B
Lua
-- Transforms '<ul class={something}>' into '<ul>'.
|
|
function RawBlock (el)
|
|
el.text = el.text:gsub('%s*<%s*ul%s*class=%s*"?[%w-]+"?%s*>%s*', '<ul>')
|
|
return el
|
|
end |