Plain .html files do not render on Linux
trinitronx opened this issue · 0 comments
trinitronx commented
On linux, it looks like plain .html files do not render correctly. Looks like the GitHub::Markup.render
command is calling Hammer::ENV.browser
via the command specified in html_renderer.rb, which on Linux just outputs:
xdg-open - opens a file or URL in the user's preferred application Synopsis xdg-open { file | URL } xdg-open { --help | --manual | --version } Use 'man xdg-open' or 'xdg-open --manual' for additional info.
Then it renders in tilt, and opens the browser with the above help text for xdg-open
.
Steps to reproduce:
- Open plain .html file in vim
- Run :Hammer
- Output in browser is help text for
xdg-open