I get testy when people put whole books or short stories or poems up on their website, without permission, especially when they know it's wrong. (A good rule of thumb. Ask yourself, if I were a publisher, and I wanted to publish this, would I have to pay for it? If the answer's yes, then don't do it.)
I'm perfectly happy with the concept of "fair use", which tends to cover extracts from a larger work; I don't mind people posting quotations (from books or stories or comics) to their hearts' content. It's not illegal, or even problematical, unless you decide that the best way to quote from Neverwhere is to scan the whole book in, and your quote is the whole of chapter ten.