in reply to Re: spoiler tag "abuse"
in thread spoiler tag "abuse"
The trick still works. It is just your contrived example that doesn't "work" for some users. Put a newline inside of your CODE block so that it will work for anybody (it would make little sense to use this trick on such a tiny chunk of code anyway).
Also, you should make your link using a URL that doesn't hardcode the hostname. You used "[http://www.perlmonks.com/?displaytype=displaycode;node_id=729693|...]" when you should have used "[href://?displaytype=displaycode;node_id=729693|...]". That would make your link work for me like the "[d/l]" and "Download code" links already work for me. Your link isn't using the hostname that my cookie is for so the 'download' is done anonymously when I click on it. And Anonymous Monk has the default setting which makes your contrived no-newline example not work.
There used to be a setting for whether or not you wish to ignore no-newline (in-line) code spans when trying to download code from a node. The default is to ignore such. I've verified that there is, in fact, currently no way to toggle this setting. I will find where the setting used to be exposed and restore access to it.
I had previously turned on the "include in-line code in downloads" for myself which is why the real "download" links on your node work for me.
- tye
|
|---|