diff options
author | 2011-12-07 00:23:04 +0000 | |
---|---|---|
committer | 2011-12-07 00:23:04 +0000 | |
commit | 1ba049268ba27c22e168cd033b2e9c9f66c04eb8 (patch) | |
tree | a6ceb9d2fa99e7888ecd3d01c79afff3e1c6cdfe /regress/roff | |
parent | a52986abaf6c9a2e467495abd57e7af8eee740a6 (diff) | |
download | mandoc-1ba049268ba27c22e168cd033b2e9c9f66c04eb8.tar.gz mandoc-1ba049268ba27c22e168cd033b2e9c9f66c04eb8.tar.zst mandoc-1ba049268ba27c22e168cd033b2e9c9f66c04eb8.zip |
Add cat2html functionality. This keeps track of italic/bold mode per line
and properly handles some funny troff-isms we've exposed. I originally
wanted to use man2html.c (found on W3's website with no known author)
but the code is dodgy. This will need some more work (links, etc.) but
does a decent job thusfar.
Note: I think it's better style NOT to use <pre>, and instead have each
line employ <BR> afterward. This allows browsers to break the lines if
necessary. This can be changed trivially (replacing the newline and pre
tags with the <BR> and new tag).
Diffstat (limited to 'regress/roff')
0 files changed, 0 insertions, 0 deletions