overvale / Textplay

Textplay is a simple command-line script that converts screenplays written in Fountain formatted plain-text to HTML, XML, and FDX (Final Draft).
Other
104 stars 17 forks source link

Angle brackets in XML output #30

Open arikrupnik opened 6 years ago

arikrupnik commented 6 years ago

Textplay outputs characters that represent markup without escaping them, e.g., "<" and ">". The following fragment displays correctly in most HTML browsers but is fatal in XML and FDX output.

INT. LIVING ROOM - DAY

On the wall hangs a poster announcing "5 < 6"
overvale commented 6 years ago

Fixed in 04eb55e

overvale commented 6 years ago

This fix has introduced issues #31 and #32. I'll have to think of a better fix.