Be careful - URI Escape 

<a href="page_<% $page | u %>.html">Next</a>