Discourse send PDF inline

I found time to test it.
The plugin is working as expected.
I do not understand, what might have caused problems in the meantime.