forcing html rendering for files without extensions
rbell--- via Lynx-dev <[email protected]>
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <[email protected]> |
My first idea had drawbacks: it forced HTML rendering on PDFs,
JPEGs, etc. I realized I wanted it to interpret files without
extensions as HTML in case they were. The proper place to do that is
in HTInit.c:
SET_SUFFIX1("*", STR_HTML, "8bit"); /* change from STR_PLAINTEXT */
russell bell