html output ok, but the % is still followed by \n