ajenhl / tacl

Tool for performing basic text analysis on the CBETA corpus
GNU General Public License v3.0
30 stars 9 forks source link

Maintain stripped text layout in highlight output #41

Closed ajenhl closed 9 years ago

ajenhl commented 9 years ago

Currently tacl highlight's output removes even the basic text layout of a stripped text, the new lines and indents that provide a small semblance of structure and readability. These should, where possible, be maintained in the HTML output, using br elements and no-break spaces (for any sequence of spaces longer than one).