asciidoctor / asciidoctor-browser-extension

:white_circle: An extension for web browsers that converts AsciiDoc files to HTML using Asciidoctor.js.
https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia
MIT License
218 stars 50 forks source link

Showing blank for some adoc files #3

Closed maxandersen closed 11 years ago

maxandersen commented 11 years ago

Example: https://raw.github.com/asciidoctor/asciidoctor.org/master/docs/what-is-asciidoctor.adoc

This loads up with empty page. Not sure why.

Would be nice there was a way to show the "raw" content even with the plugin installed and equally awesome would be to get an error or something explaining what causes the empty doc.

ggrossetie commented 11 years ago

Hi Max,

Thanks for the report.

The error is NoMethodError : undefined methodsqueeze' for "Dan Allen, Sarah White". I added atry/catch` to print the error message when something went wrong :

asciidoctorjs-error