asciidoctor / docbookrx

(An early version of) a DocBook to AsciiDoc converter written in Ruby.
MIT License
22 stars 49 forks source link

Non-breaking spaces are stripped out #53

Open lucascosti opened 8 years ago

lucascosti commented 8 years ago

For example:

<para>
    Before installing Red&nbsp;Hat&nbsp;JBoss&nbsp;Web&nbsp;Server on Red&nbsp;Hat Enterprise&nbsp;Linux, ensure the following prerequisites are met.
<para>

becomes:

Before installing RedHatJBossWebServer on RedHat EnterpriseLinux, ensure the following prerequisites are met.
mojavelinux commented 8 years ago

Looks like the &nbsp; entity is not being handled. It should be replaced with {nbsp} I think.

mojavelinux commented 8 years ago

It looks like only a handful of numeric entities are being replaced, but no named entities.