Add pandoc '<br/>' filter

master
Hektor Misplon 2021-11-28 17:51:29 +01:00
parent b07e7a7daa
commit 26a83a8ae8
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
function RawInline (el)
if el.format:match '^html' and el.text:match '%<br ?/?%>' then
return pandoc.LineBreak()
end
end