Is the landlord responsible if I’m injured at the apartment?

Like the store owner, the landlord is only responsible for a dangerous condition that he knows or should know about. What makes this case especially difficult is the fact that a tenant who has lived in an apartment for any length of time should also know about a dangerous condition and is thereby equally responsible for the injury.