I liked German shepherds and grew up with one. Yet the wagging tail was utterly surprising and endearing to me given this dog’s dire condition.
=> Is it grammatically correct? I think it is because I cited it from a paper. However, the bold part seems very dangle to me. (strange syntax)