docpad / docpad-plugin-paged

Adds support to DocPad for rendering a document into multiple pages.
Other
28 stars 11 forks source link

Generated redirect page doesn't validate #16

Closed zenorocha closed 6 years ago

zenorocha commented 10 years ago

If you try run some of the redirect test cases in W3C Validator you get:

Because it should have an extra space between 0; and url:

<!-- Wrong -->
<meta http-equiv="REFRESH" content="0;url=/posts/awesome.1">`

<!-- Right -->
<meta http-equiv="REFRESH" content="0; url=/posts/awesome.1">

P.S.: I wanted to send a PR to fix this minor problem but I couldn't find where to add this space.

StormPooper commented 9 years ago

@zenorocha, the paged plugin is not responsible for the static redirection page creation, the cleanruls plugin is. I've created a pull request there for you: docpad/docpad-plugin-cleanurls#23

balupton commented 9 years ago

This has been merged into the cleanurls plugin, but not released.

balupton commented 6 years ago

This has since been released to the cleanurls plugin