Fixed link hiding in the layout
Fixed tests for \r filtering