</div>
bug@حبيشان
There seems to be a bug producing an extra </div>
in the output when using pipes to split the text instead of \\
. (This causes lint errors, which is how I came across this.) The first version below has the problem, the second doesn't (full examples here and here). I don't know Arabic and its poetry terminology, which complicates following the logic and fixing this myself, since there's no documentation aside from the code itself. Maybe I'll try later anyway, but it's probably a lot easier for you or another Arabic-speaker to do.
Romanization
Romanization