next.js/test/integration/query-with-encoding/pages/newline.js
newline.js19 lines319 B
import Link from 'next/link'

const Another = () => (
  <div>
    <Link href="/?another=hello%0A" id="hello-lf">
      Hello LF
    </Link>
    <br />
    <Link
      href={{ pathname: '/', query: { complex: 'yes\n' } }}
      id="hello-complex"
    >
      Hello Complex
    </Link>
  </div>
)

export default Another
Quest for Codev2.0.0
/
SIGN IN